Jump to content
IGNORED

Where starts program from ATR or CAS file?


Recommended Posts

Typically anywhere between $480 and the top of memory, e.g. $BFFF. However you can load a bootstrapper that can move loaded memory into an extended bank or in the memory under the OS.

Will also depend on whether you are using an existing DOS too.

Have a search on the forum for LOWMEM and you come across discussions on the topic.

Edited by Wrathchild
  • Like 1
Link to comment
Share on other sites

The boot record from the ATR or the CAS is loaded in buffer location $400 (128 bytes), then copied to wherever address the word from bytes 2 and 3 (starting from 0) points to. The following sectors/blocks are also loaded from the device into $400 and then copied contiguous to the previous one. The total number of sectors to read is stored in byte 1 of the boot record, and the run address is at byte 6 of the first record (starting from 0 again).

 

Edited by vitoco
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...