See here, and to quote from there:aitsch wrote:94 bytes more for my current project sounds good.Mike wrote:Hi, Robbie,
as pointed out by chysn, there's room for small routines in $02A1..$02FF (the so-called program indirects) ...
i've tried to place this small test routine in this area (starts at $02a1):
but for me programs in this location won't work.Code: Select all
*=$1001 !byte $0b,$08, $e2,$07, $9e, $20, $36, $37, $33, $00,$00, $00 *=$02a1 ; starting at $02a1 ldy #0 .loop tya sta $1e00,y lda #0 sta $9600,y dey bne .loop rts
why?
aitsch
... and actually, those are 95 bytes in $02A1..$02FF.Mike wrote:[...] the BASIC stub supposed to be loaded to the BASIC start (with ",8" and not ",8,1"!), and the machine code (or other data) is supposed to follow directly behind. There is no such thing as a "fragmented" load that puts parts of loaded files to other positions. The load routine in the KERNAL only transfers a single contiguous memory segment.