OK240.2-Firmware/CPM_v2.2_r8_bc0695e4
2026-03-25 17:18:26 +03:00
..
.vscode 3 CP/M, 3/MON, 1/Test source codes 2026-02-16 16:14:47 +03:00
BIN 3 CP/M, 3/MON, 1/Test source codes 2026-02-16 16:14:47 +03:00
bdos.asm MonR9 proto, Type disassm, Jack disassm. 2026-03-25 17:18:26 +03:00
bdos.inc 3 CP/M, 3/MON, 1/Test source codes 2026-02-16 16:14:47 +03:00
bios.asm MonR9 proto, Type disassm, Jack disassm. 2026-03-25 17:18:26 +03:00
ccp_ram.asm 3 CP/M, 3/MON, 1/Test source codes 2026-02-16 16:14:47 +03:00
ccp_rom.asm MonR9 proto, Type disassm, Jack disassm. 2026-03-25 17:18:26 +03:00
cpm_vars.inc 3 CP/M, 3/MON, 1/Test source codes 2026-02-16 16:14:47 +03:00
cpm.asm 3 CP/M, 3/MON, 1/Test source codes 2026-02-16 16:14:47 +03:00
equates.inc MonR9 proto, Type disassm, Jack disassm. 2026-03-25 17:18:26 +03:00
io.inc 3 CP/M, 3/MON, 1/Test source codes 2026-02-16 16:14:47 +03:00
mon_entries.inc 3 CP/M, 3/MON, 1/Test source codes 2026-02-16 16:14:47 +03:00
ram.inc MonR9 proto, Type disassm, Jack disassm. 2026-03-25 17:18:26 +03:00
README.md MonR9 proto, Type disassm, Jack disassm. 2026-03-25 17:18:26 +03:00

Ocean-240.2 ROM Sources CP/M (V2.2) REL.8 checksum bc0695e4

Source codes of CP/M (V2.2) REL.8 version for Ocean-240.2 with Floppy controller. In Z80 mnemonics, but limited for i8080 instruction set.

  • READ command replaced with Intel HEX loader by tnt23
  • 192k RAM drive

Compile

sjasmplus --sld=cpm.sld --sym=cpm.labels --raw=cpm.obj --fullpath cpm.asm

To compile sources, use sjasmplus Z80 assembler.

Convert binary file to Intel HEX

srec_cat file_name.COM -binary -offset 0x100 -output file_name.hex -Intel

Send HEX from Linux console

It is assumed that there is a USB-RS232 (USB-TTL) adapter on the /dev/ttyUSB0.

  1. At Ocean's CP/M command line:

    A>READ

  2. At Linux terminal, configure tty for 4800,8N2:

    stty -F /dev/ttyUSB0 4800 cs8 -cstopb

  3. At Linux terminal, send file:

    cat okeah.hex > /dev/ttyUSB0

srec_cat - Utility from srecord package - collection of tools for manipulating EPROM load files.

Forum topic