BLOAD Question

Get technical support from the community & developers with specific X16 programs if you can't find the solution elsewhere
(for general non-support related chat about programs please comment directly under the program in the software library)
Post Reply
Screech
Posts: 8
Joined: Fri Jan 01, 2021 5:35 pm

Question BLOAD Question

Post 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
User avatar
ahenry3068
Posts: 1135
Joined: Tue Apr 04, 2023 9:57 pm

Re: BLOAD Question

Post 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
Last edited by ahenry3068 on Mon Oct 14, 2024 8:45 pm, edited 1 time in total.
Post Reply