Hello Chris, * On Sat, Nov 19, 2011 at 01:23:19PM -0600 Chris Cureau wrote: > ; set up for random access > lda #5 ;logical file number 2 > ldx #8 ;device 8 > ldy #5 ;secondary address 2 > jsr SETLFS ;set LA, FA, SA Your commentary and your code do not match! Your commentary tells you are doing an OPEN 2,8,2,"#"; however, your code executes an OPEN 5,8,5,"#". > drivecmd: > .byte "u1:2 0 18 1", $0D ^^^ Here, you are asking for the buffer opened with the secondary address 2. That cannot work, as you opened it with secondary address 5 instead. So, change this to .byte "u1:5 0 18 1", $0D OR (in the sense of exclusively-or) change the ldy #5 to ldy #2 (and adjust your commentary, too!) HTH, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sun Nov 20 10:30:46 2011
This archive was generated by hypermail 2.1.8 : 2011-11-20 10:30:50 CET