home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Set of Apple II Hard Drive Images
/
eric.hdv
/
OBJTEST
/
ALLOCATE.bas
next >
Wrap
BASIC Source File
|
2020-08-13
|
399b
|
12 lines
10 INPUT "ALLOCATE HOW MANY PAGES:";P
20 POKE 768,10 *16 +9: POKE 769,P
30 POKE 770,32: POKE 771,15 *16 +5: POKE 772,11 *16 +14
40 POKE 773,9 *16: POKE 774,1: POKE 775,0
45 POKE 776,8 *16 +13: POKE 777,15: POKE 778,3
47 POKE 779,32: POKE 780,13 *16 +10: POKE 781,15 *16 +13
48 POKE 782,96
49 PRINT "YOU GOT BASE ADRS:";
50 CALL 768
60 PRINT "00"
70 H = PEEK(768 +15) *256
80 REM HIMEM:H