20-12-2023, 08:03 PM
(This post was last modified: 21-12-2023, 01:35 PM by someone.
Edit Reason: MWB example added
)
(20-12-2023, 05:57 PM)ChickenMan Wrote: So in Basic I use OUT 10,x where x is the PAK that needs to be active, how do do you access the other 8k slots in the NET eprom. NET fires up TELCOM but NET 0 or 1 or.. just gives me SYNTAX ERROR as expected.
At a glance, someone thinks you'll need to execute an IN 0x0A instruction to select the desired NET ROM image.
From MWBASIC it'll probably be accomplishable using the USR() function.
At address XXXX poke:
79 ; ld a,c
DB 0A ; in A,(PORT0A)
C9 ; ret
A potential (UNTESTED) MWB example poked into the top of char ram.
POKE 67432,121
POKE 67433,219
POKE 67434,10
POKE 67435,209
A=USR(67432, <NETBANK_NUM>)
NET
There's probably much easier ways!
