Chuck Moore's OK Operating System
for the MuP21 Microprocessor

Contents: Chuck Moore's PD cross assembler for MuP21 8 bit code and 20 bit DRAM CODE, 8 bit UVPROM/SRAM boot code, 20 bit DRAM code to generate video coprocessor code, video code for 384x482 pixel NTSC color composite video output, the OK menu handler, and some OKAD code.

Dr. C.H. Ting's text output routines and character demos in OK16A.

Jeff Fox's PCMCIA BIOS extenstions to Chuck's assembler, video windowing extensions to MuP21 charater output used in P21Forth 1.01 and 1.02.

OK ver F.101 also used with P21Forth 1.02
OK ver F.101 for P21Forth 1.01 36 changes on 2/2/95 for nop before a! jf
OK ver F.10 for P21Forth 1.0

This version of the OK Operating System is based on this modified version of the file OK16A.SEQ created by Charles Moore and Dr. C. H. Ting for the production plastic MuP21 chips.

Modifications by Jeff Fox 11/18/94

The development software has been extended to use PCMCIA BIOS support in DOS to write data images to PCMCIA cards in PCMCIA2.SEQ. PCMCIA drive letter (A:, B:, C:, D:, etc) and other details will be implementation specific.

The 8 bit and and 20 bit boot code has been modified to boot enough code for P21Forth by Jeff Fox.

Upper left on the video screen has been changed for 48x24 video support Video text window support routines have been added defaulting to 48x24 in WINDOW.SEQ.

The file MAKEOKOS.SEQ will Make the OK OS, and save it to a PCMCIA card when invoked from the file X.BAT.

Also included 2CARD2.SEQ, a utility to create 2CARD2.EXE for moving the metacompiled P21Forth onto the PCMCIA card on top of the OK OS.

Also included FLOPCARD.SEQ, a utility to create FLOPCARD.EXE for swapping stuff on a 128k byte PCMCIA card so it can hold DOS and DOS files and MuP21 P21Forth boot code at the same time. FLOPCARD will switch the card from being bootable in DOS to being bootable in the MuP21.
There is also a FLOPCARD word in P21Forth that performs the same function as the DOS utility FLOPCARD.EXE

F21FILE.SEQ contains code to read/write data files that can be loaded to a card with 2CARD2, or loaded into the S21 chip simulator.

files from OK ver F1.01

OK16A    SEQ  21,815 02-02-95 OK assemblers and boot code
PCMCIA2  SEQ   2,403 04-23-94 write to PCMCIA card via BIOS
OKCHAR14 SEQ  15,058 02-02-95 Dr. Ting's character set+
WINDOWS  SEQ   8,097 02-02-95 Fox's extended character output

2CARD2   SEQ   7,295 11-22-94 utility to mix P21Forth with OK
F21FILE  SEQ   3,456 11-22-94 reads *.?21 data files
FLOPCARD SEQ   4,100 08-18-94 use DOS and P21Forth on PCMCIA card

MAKEOKOS SEQ     373 11-17-94 used in X.BAT
OK101    ZIP  25,672 02-20-95 everything zipped up