Jump to content



Photo
- - - - -

File issues..


  • Please log in to reply
4 replies to this topic

#1 Rigel

Rigel

    Newbie

  • Members
  • Pip
  • 12 posts

Posted 21 May 2003 - 07:54 PM

Hi again,
I'm still experimenting with Pascal code. Displaying text and graphics, reading the keyboard are OK. I've never needed any asm code. I feel ready to write great application programs purely and simply with Turbo Pascal :)

However, Most of the file handling statements/commands are behaving abnormally on the AFX. I guess there are many virtual disk drives in the unit. Some of them are read only and some are not.

Anybody with any (even tiny) information about these drives are fullheartedly welcome!! Pleaze..

Thanx in advance.

#2 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 22 May 2003 - 07:58 AM

Well I know nothing of
how to use pascal on the calc but the flash is split in 7 drives
(L-Q & A) and the ROM has drives B-K. They are all read only at least
for any standard progrmming interface. if you want to write to the flash
to them you have to use assembler to communticate directly with the flash.

#3 Rigel

Rigel

    Newbie

  • Members
  • Pip
  • 12 posts

Posted 23 May 2003 - 04:18 PM

Hi,
Thanks for the info huhn. I want to know something: most asm/C programming sites about AFX feature file management utilities. If you can access file processing routines of AFX DOS via asm, then you can do just the same using C/C++ or Pascal. Can't Turbo C code access files on drives?

#4 Rigel

Rigel

    Newbie

  • Members
  • Pip
  • 12 posts

Posted 23 May 2003 - 04:21 PM

By the way, where can I get information about the memory mapping for the Flash?

#5 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1564 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 23 May 2003 - 06:33 PM

C/C++ code has no problem accessing files on drive because it uses standar DOS interruptions... but of course it cannot change the files' content. To do so you have to "ask" to the flash controller but it's not simple at all. You have to write byte per byte.

A French guy (Whyp) made a fantastic tutorial about the AFX but it's all in French.

You can download it there:

http://shine.sourcef...La_g100_2nd.pdf




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users