[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dhires Programming under ProDOS
John Le Febvre <john@klatch.demon.co.uk> writes:
| Anyone know of a site that has documented programs (or just
| documentation) of programming using the double hires features of the //e
| under ProDOS?
|
| What's the best place to start? I used to write assembly for the ][+
| years back, and have just got myself a ][+ and 2 enhanced //e's (one
| 64k, the other 128k).
|
| Oh yeah, anyone got a 3.5" disk controller they want to sell? ;)
|
| Thanks
| --
| John
|
ahh... i believe that the approved method is something like this:
1) check to see if there's anything on /RAM, if it exists (likely).
2) if it exists and is empty, remove the driver. move around the
devices appropriately. decrease the device count by one.
3) if it exists and is not empty, ask the user if they REALLY want to
run the program, given that /RAM is destroyed. if they say yes, do #2.
to be safe, issue a CLOSE and delete all the files on /RAM first.
4) if /RAM doesn't exist, proceeed.
then, at the end....
1) look to see if you HAD /RAM when you started. if not, skip this
section.
2) if you had /RAM, restore the device table, the device count, and the
other things you may have changed (device address for example.. no real
reason to, you can patch the device table enough without changing the
address of the driver).
--- email: uwvax!gorgon!ruth!spqr
"Hit paydirt with KDRT!" -- Ford Fairlane, Rock & Roll detective.