Settings

Theme

IBM PC XT (Model 5160) emulator in the browser

pcjs.org

5 points by hliyan · 3 comments

Reader

1 thread
eesmith

Decided to relive some of my youth with a big of BASIC. Quickly found a crasher. Here's a repo:

  basica
  call me
(That is, from DOS start basica.exe then in the repl do "call me".) This gives the popup:

  'Undefined opcode 0xC7 at 0x00012EC8'
  • userbinator

    0xC7 is "mov r/m16, imm16" and definitely exists on the 8088.

    • eesmith

      It looks like the emulation simply isn't complete.

      I tried the Zenith Z-150 (my first PC was a Z-151, and I still have some muscle memory about how to use it!)

      Start at https://www.pcjs.org/machines/pcx86/zenith/z150/cga/

      From the monitor, boot by entering "B". (The Zenith machines had a hardware system monitor you could drop into with control-alt-insert, which gave a very basic system inspector/debugger. I used it to crack a few games. :)

      Press enter twice for the date and time to be the defaults.

      Run "basic".

      Get the popup "Undefined opcode 0xFF at 0x000F6001".

      (Same with "basica".)

      Huh. I've completely lost my edlin skills. And the emulator doesn't handle ^Z or ^C for me.

      For the matter, neither of the two keyboards I have support an "insert" key.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection