RE: 1551 Test Demo

From: William Levak (wlevak_at_cyberspace.org)
Date: 2000-05-25 07:16:36

On Wed, 24 May 2000, [ISO-8859-1] Marko Mäkelä wrote:

> On Wed, 24 May 2000, William Levak wrote:
> 
> > I have modified the V20 wedge so it will use any drive.  It assigns the
> > drive number when you run the program.  To change the drive number, you
> > must load the wedge again and specify a different drive number.
> 
> My favourite is code like this:
> 
> 	lda $ba
> 	cmp #4
> 	bcs got
> 	lda #8
> got:	sta got-1
> 
> This code will remember the device number last used, and it will use the
> memorized device number if the last device accessed was not on the serial
> bus.

I simply added a line to the BASIC part to input a device number and then
poke it to the machine language part before it is relocated to the top of
memory.  It's not very sophisticated, but it meets my needs.

It has been uploaded to funet.


-
This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tcm.hut.fi.

Archive generated by hypermail 2.1.1.