65C02 SBC Simulator

OS-65D V3.3 DOS in ROM with the DOSX commands, Forth-79 in ROM and OSI BASIC from disk, on a simulated 65C02 with four disk drives. Click the screen and type.


        
      
CPU –PC –

Getting started

At the DOS prompt A*

  • DI directory, sorted, with the free tracks
  • TY PRIMES.BAS type a file
  • BA start BASIC, then RUN"HELLO.BAS"
  • FT start Forth
  • MD E000 dump memory, VE verify the disk
  • CO A B copy drive A to the blank disk in B
  • SE B select drive B

In BASIC

  • RUN"PRIMES.BAS", RUN"GUESS.BAS", RUN"DIRED.BAS"
  • DISK!"PU MYPROG.BAS" save the program, DISK!"LO MYPROG.BAS" load it
  • EXIT back to the DOS

In Forth

  • USE DEMO.FTH 0 LOAD then 5 TRIANGLE, 15 FIB
  • USE STEP.FTH 0 LOAD loads the single stepper
  • WORDS, DIR, 1 LIST, BYE back to the DOS

Keys

Return ends a line. Backspace sends _ (the OS-65D and BASIC rub-out) and a real backspace in Forth. Esc or Ctrl-C stops a listing and Space pauses it. With CAPS on, letters are sent in upper case. Paste (Ctrl-V) types the text in at a pace the machine can take, so you can paste a whole BASIC listing; Type a file… does the same from a file, including Intel HEX files for HL.

What is simulated

The 65C02 CPU, 32K of RAM, the console ACIA and the 32K EEPROM image ($A000 Forth, $D000 DOSX, $E000 DOS) are emulated as they are. The floppy controller is not emulated bit by bit: the DOS's own disk routines (seek, find sector, read, write, format, select drive) are served from the disk images, so every command, DISK! from BASIC and the Forth block words work, with no disk delays. The assembler and extended monitor are not included.

Full command list