Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > 1581 loader problem
2006-03-29 21:19
Richard

Registered: Dec 2001
Posts: 621
1581 loader problem

I'm having trouble with the 1581 loading routine. Please can you tell me where I have gone wrong? Please can anyone help? What seems to happen is the 1581 fails to respond after the search for a filename.

Code:
lda #$08
device ldx #$08
tay
jsr $ffba
lda #$10
ldx #<filename
ldy #>filename
jsr $ffbd
lda #$00
jsr $ffd5
lda #$37
sta $01
cli
jsr $a659
jmp $a7ae
rts

This works with a 1541 drive, but why does it not work properly with 1581?
2006-03-29 21:42
6R6

Registered: Feb 2002
Posts: 246
I cant see any troubles in your routine.
Are you sure you have the correct filename ?
Are you sure the device number is correct ?

Insert a rts instead of the cli and try read the error channel...


2006-03-29 22:12
Devia

Registered: Oct 2004
Posts: 403
I just tested your routine and it works.

However! ;-) ...

I could not get it working before I removed my RetroReplay Cartridge (with The Final Replay v0.6 ROM).
I made a simple oneline basic proggy and saved it using SAVE"TEST",9 but when I tried loading it back from the 1581 (on dev #9) it loaded from $0801 to $0801 :(
It wasn't until I removed the cartridge it started to behave properly and then your little code started working too.

Let's see if I find some time tomorrow to figure out exactly what the hell is going on here.. too tired to think more about it right now ;-)
2006-03-30 07:52
scout

Registered: Dec 2002
Posts: 1578
Quote:
I could not get it working before I removed my RetroReplay Cartridge (with The Final Replay v0.6 ROM).


Yes, I have the same problem with TFR and the 1581.
Count Zero's RR Rom works fine in combination with the 1581 btw.
2006-04-02 08:57
Richard

Registered: Dec 2001
Posts: 621
Erm, don't worry. I managed to get it to work :)
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Guests online: 358
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Wonderland XIV  (9.5)
9 Uncensored  (9.5)
10 Comaland 100%  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Performers  (9.3)
4 Oxyron  (9.3)
5 Censor Design  (9.3)
Top Coders
1 Axis  (9.8)
2 Sailor  (9.8)
3 Lft  (9.8)
4 Graham  (9.8)
5 Crossbow  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.049 sec.