mirror of
https://github.com/romychs/OK240.2-Firmware.git
synced 2026-04-19 09:53:19 +03:00
| .. | ||
| .vscode | ||
| BIN | ||
| bdos.asm | ||
| bdos.inc | ||
| bios.asm | ||
| ccp_ram.asm | ||
| ccp_rom.asm | ||
| cpm_vars.inc | ||
| cpm.asm | ||
| equates.inc | ||
| io.inc | ||
| mon_entries.inc | ||
| ram.inc | ||
| README.md | ||
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.
-
At Ocean's CP/M command line:
A>READ
-
At Linux terminal, configure tty for 4800,8N2:
stty -F /dev/ttyUSB0 4800 cs8 -cstopb
-
At Linux terminal, send file:
cat okeah.hex > /dev/ttyUSB0
srec_cat - Utility from srecord package - collection of tools for manipulating EPROM load files.