Index of /acorn/pandora-WIP/NS32016
Name Last modified Size Description
Parent Directory -
Makefile 2022-08-09 15:48 384
README.txt 2022-08-09 15:44 772
test.bas 2022-08-09 15:42 34
pandora/ 2022-08-09 15:42 -
mem32016.h 2022-08-09 15:40 816
defs.h 2022-08-09 15:39 653
Profile.h 2022-08-09 15:39 237
Decode.h 2022-08-09 15:37 2.5K
Decode.c 2022-08-09 15:37 2.1K
Pandora.c 2022-08-09 15:36 82K
Trap.h 2022-08-09 15:35 837
Trap.c 2022-08-09 15:35 1.2K
patch.diff 2022-08-09 15:35 4.4K
Pandora.h 2022-08-09 15:35 5.9K
mem32016.c 2022-08-09 15:35 7.7K
bas32.h 2022-08-09 15:35 458
bas32.c 2022-08-09 15:35 148K
32016.h 2022-08-09 15:35 7.1K
32016.c 2022-08-09 15:35 73K
A quick experiment to see if Pandora 32016 Basic can be converted to run
on any arbitrary host that has a C compiler. It does this by having the
32016 emulator intercept all SVC calls, which are implemented by C code
embedded in the emulator.
Everything you need is in ../bas32.tar
From the NS32016 subdirectory, compile with:
cc -g -o bas32 -DBAS32 -I.. bas32.c 32016.c Decode.c mem32016.c Pandora.c -lm
The experiment seems to have worked, so the next step is to see if it can be
repeated for PANOS relocatable image files.
Thanks to Hoglet for the emulator and help in getting this running. This code
ought to run on both 32 and 64 bit systems. (To compile on a 64 bit system you
*may* need to add -m64 to the command-line.)
Graham Toal