[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Applesoft Basic size limitations?
I seem to be doing something wrong. I created a hello file with the
following code:
1 REM BWAS 16384
10 B = 24576
20 HOME : TEXT : PRINT "ADDRESS TO LOAD NEXT BASIC PROGRAM IS:": PRINT
B
30 POKE 103,(B + 1) - INT ((B + 1) / 256) * 256
40 POKE 104, INT ((B + 1) / 256):
50 POKE B,0
60 PRINT chr$(4);"run file"
I tried a few different memory location values for B (although 24576
is what I should use for an hgr2 program thats about 14-15k correct?
I replaced "file" with the name of my bas file. Is there anything
else I'm forgetting. Never loaded a program from a different address
location than its default.