(PC-1211) Engineering format
|
05-16-2022, 12:38 AM
Post: #17
|
|||
|
|||
RE: (PC-1211) Engineering format
With a bit of logical guessing and a few PEEK and POKE experiments, I found the BASIC MERGE flags. The 8th bit of this flag is set when BASIC programs were merged. This resolves the problem with the "NEW" program garbling the LIST command.
For the PC-1360: 65512 BASIC FLAGS (128=merged programs are present) 32792 RAM BASIC FLAGS (128=merged programs are present) For the PC-1350: 28434 BASIC FLAGS (128=merged programs are present) RAM card address + 24: BASIC FLAGS (128=merged programs are present For the PC-2500: 28066 BASIC FLAGS (128=merged programs are present) RAM card address + 24: BASIC FLAGS (128=merged programs are present) I don't have access to other Sharp PC for a while to look for the flag address. My bet is that the PC-1262 uses 26354 and the PC-1403 uses 65298 The updated PC-1360 "NEW" program: Code: 1 "NEW" L=PEEK 65497,H=PEEK 65498,E=L+256*H: POKE 65499,L,H: POKE 32779,L,H And a PC-1350 "NEW" program (note that &60xx in the program must be replaced with the RAM card starting address when a RAM card is present, &40xx for 8K and &20xx for 16K): Code: 1 "NEW" L=PEEK 28419,H=PEEK 28420,E=L+256*H: POKE 28421,L,H: POKE &600B,L,H - Rob "I count on old friends to remain rational" |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)