Skip to content

Commit

Permalink
Merge pull request #24 from nihirash/update
Browse files Browse the repository at this point in the history
Using ZINC's config
  • Loading branch information
nihirash authored Jan 8, 2025
2 parents 46e88d7 + b870a3f commit d3e0947
Show file tree
Hide file tree
Showing 41 changed files with 2,177 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
*.lst
*.bak
cpm*.dsk
release/
release/
.DS_Store
bootstrap/*.bin
bootstrap/*.sys
17 changes: 14 additions & 3 deletions bootstrap/terminal.inc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ UART_LSR_RDY: EQU $01
PD_DR: EQU $a2

;; Init terminal
_term_init:
_term_init:
;; Reading serial configuration
ld hl, config_file
ld de, serial_cfg
ld bc, serial_cfg_end - serial_cfg
MOSCALL mos_load

ld hl, vdu_init
ld bc, init_end - vdu_init
rst.lil $18
Expand All @@ -35,18 +41,23 @@ _term_init:
in0 a, (REG_RBR)
ret


config_file:
db "/mos/zinc.cfg", 0

serial_cfg:
dl 57600
db 8
db 1
db 0
db 0
db 0
serial_cfg_end:

vdu_init:
db 23, 0, 255 ; Switch to terminal emulation
db "CP/M to MOS gate v.1.1", 13, 10
db "2023 (c) Aleksandr Sharikhin", 13, 10
db "CP/M to MOS gate v.1.2", 13, 10
db "2025 (c) Aleksandr Sharikhin", 13, 10
db 13,10
init_end:

Expand Down
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
(cd sources && sjasmplus main.asm)
(cd bootstrap && ez80asm cpm.asm)
Binary file modified disks/images/e/anagram.com
Binary file not shown.
1 change: 1 addition & 0 deletions disks/images/e/chapter1.doc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Thi� i� chapte� 1.

1 change: 1 addition & 0 deletions disks/images/e/chapter2.doc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Thi� i� chapte� 2.

1 change: 1 addition & 0 deletions disks/images/e/chapter3.doc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Thi� i� chapte� 3.

1 change: 1 addition & 0 deletions disks/images/e/diary.doc
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,4 @@ al
Tomorro� i� ou� las� da� i� London� We'l� hav� t� mak� th� �mos� �
o� it!


Binary file modified disks/images/e/dictsort.com
Binary file not shown.
Binary file modified disks/images/e/find.com
Binary file not shown.
Binary file modified disks/images/e/homonyms.txt
Binary file not shown.
1 change: 1 addition & 0 deletions disks/images/e/hyexcept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -355,3 +355,4 @@ PUB-LI-CA-TION
PUB-LISH
RE-PLACE-MENT
WHEN-EVER

Binary file modified disks/images/e/hyphen.com
Binary file not shown.
Binary file modified disks/images/e/lookup.com
Binary file not shown.
Binary file modified disks/images/e/maindict.cmp
Binary file not shown.
Binary file modified disks/images/e/markfix.com
Binary file not shown.
1 change: 1 addition & 0 deletions disks/images/e/print.tst
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,4 @@ colo

Tï continuå viewinç thå contentó oæ thió file¬ ¬ presó ^C® Presó 
^R‚ tï movå iî thå otheò direction.

Expand Down
Loading

0 comments on commit d3e0947

Please sign in to comment.