Compiler: Bank Lengths #1

Open
opened 2023-03-25 15:32:19 +00:00 by john · 0 comments
Owner

Ref 1.01

Banks which are loaded or created with Reserve As Data or Reserve As Chip Data are saved with
your AMOS source code. The =Length command will return the length of these banks.
When you compile the banks are also added to the executable. However they are padding to have
an even length. This isn't mentioned in the documentation and gives problems when =length is used
in your program to read/write a certain position in your memorybank.

  • bug discovered by ...someone on the AMOS-list... in 1993
  • bug tested/described by Spellcoder on 20 nov 2007
Ref 1.01 Banks which are loaded or created with Reserve As Data or Reserve As Chip Data are saved with your AMOS source code. The =Length command will return the length of these banks. When you compile the banks are also added to the executable. However they are padding to have an even length. This isn't mentioned in the documentation and gives problems when =length is used in your program to read/write a certain position in your memorybank. * bug discovered by ...someone on the AMOS-list... in 1993 * bug tested/described by Spellcoder on 20 nov 2007
john added the
AMOS Pro Bugs List
label 2023-03-25 15:32:19 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: TheIndustriousRabbit/amos-professional#1
No description provided.