kenrector / sigma-cpv-kit

Useful files to bring up CP-V on the simh Sigma simulator
MIT License
9 stars 0 forks source link

unimplemented instruction running BASIC #6

Closed dfnr2 closed 2 years ago

dfnr2 commented 2 years ago

Attempting to execute any basic commands (in a program or from the prompt) results in an "unimplemented instruction" trap. I suspect this in an emulation bug, but since you seem to be able to run BASIC programs, I am wondering if it's a simh config setting.

FORT, EDIT, and APL seem to be working fine.

!BASIC
VER. C02
>10 FOR I = 1 TO 10
>20 PRINT I
>30 NEXT I
>40 STOP
>50 END
>RUN
:P6   ^   RUNQAAA...
  A405 UNIMPLEMENTED INSTRUCTION

!
kenrector commented 2 years ago

You're right. This code resulted in an FPA,10 a74e instruction. The sigma.ini options should include a set cpu FP to allow the floating point instructions I added the change and committed sigma.ini