LOAD command (Was: Disk drive questions)

From: Marko Mäkelä (marko.makela_at_hut.fi)
Date: 2002-11-18 10:38:23

On Sun, Nov 17, 2002 at 11:10:29PM -0500, William Levak wrote:
> Even a simple LOAD or SAVE uses the command channel, although you normally
> don't see it from BASIC.

Are you sure of this?  I thought LOAD would be equivalent to OPEN1,8,0,"FILE"
and SAVE to OPEN1,8,1,"FILE".  I may remember the secondary addresses wrong.

By the way, I'm just playing with the LOAD command.  I wrote a 2-byte
"program" that invokes a 38400 bps fastloader in the 192-byte tape header
(by overwriting the $ffd2 indirection vector, of course).  The program already
works on the VIC-20 and on the C64, and I'm planning to add support for
the C128, the 264 series and the PET series soon.  For the PET, I'm afraid
I must create multiple versions, as the routine for restoring the vectors
might be located at different addresses.  It could be possible to detect
that at run time, as there is plenty of space left, but there is another
problem as well: for load"",2, the tape buffer is at a different location,
as far as I know.


       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.4.