Page 1 of 1

BLOAD Question

Posted: Sun Oct 13, 2024 9:19 pm
by Screech
When I perform a BLOAD in direct mode, I get the ending address of the event (example: Loading from $01:A000 to $02,A580)

How do I get the End bank and address in BASIC? I'm assuming it's a PEEK. I just don't know where to look

Re: BLOAD Question

Posted: Mon Oct 14, 2024 7:22 am
by ahenry3068
Screech wrote: Sun Oct 13, 2024 9:19 pm When I perform a BLOAD in direct mode, I get the ending address of the event (example: Loading from $01:A000 to $02,A580)

How do I get the End bank and address in BASIC? I'm assuming it's a PEEK. I just don't know where to look
Look at this code here where I load a bunch of files and save the Pointers in an array. The X&Y registers hold the "Next" address after the last byte loaded. You have to peek the BASIC register locations at $030D & $030E

viewtopic.php?t=7699