Prev: E3BF Up: Map Next: E447
E422: print the start up message and initialise the memory pointers
Used by the routine at E394.
E422 A5 2B LDA $2B get the start of memory low byte
E424 A4 2C LDY $2C get the start of memory high byte
E426 20 08 A4 JSR $A408 check available memory, do out of memory error if no room
E429 A9 73 LDA #$73 set "**** COMMODORE 64 BASIC V2 ****" pointer low byte
E42B A0 E4 LDY #$E4 set "**** COMMODORE 64 BASIC V2 ****" pointer high byte
E42D 20 1E AB JSR $AB1E print a null terminated string
E430 A5 37 LDA $37 get the end of memory low byte
E432 38 SEC set carry for subtract
E433 E5 2B SBC $2B subtract the start of memory low byte
E435 AA TAX copy the result to X
E436 A5 38 LDA $38 get the end of memory high byte
E438 E5 2C SBC $2C subtract the start of memory high byte
E43A 20 CD BD JSR $BDCD print XA as unsigned integer
E43D A9 60 LDA #$60 set " BYTES FREE" pointer low byte
E43F A0 E4 LDY #$E4 set " BYTES FREE" pointer high byte
E441 20 1E AB JSR $AB1E print a null terminated string
E444 4C 44 A6 JMP $A644 do NEW, CLEAR, RESTORE and return
Prev: E3BF Up: Map Next: E447