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: 245
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: 401
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: 1570
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
Thierry
Urban Space Cowboy
Meikel aka ZUX/Sparks
E$G/HF ⭐ 7
Guests online: 134
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 X-Mas Demo 2024  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rainbow Connection  (9.5)
9 Onscreen 5k  (9.5)
10 Morph  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Mutetus  (9.7)
3 Jeroen Tel  (9.7)
4 Linus  (9.6)
5 Stinsen  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.061 sec.