Skip to content

Commit d3e0947

Browse files
authored
Merge pull request #24 from nihirash/update
Using ZINC's config
2 parents 46e88d7 + b870a3f commit d3e0947

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2177
-6
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
*.lst
44
*.bak
55
cpm*.dsk
6-
release/
6+
release/
7+
.DS_Store
8+
bootstrap/*.bin
9+
bootstrap/*.sys

bootstrap/terminal.inc

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ UART_LSR_RDY: EQU $01
1313
PD_DR: EQU $a2
1414

1515
;; Init terminal
16-
_term_init:
16+
_term_init:
17+
;; Reading serial configuration
18+
ld hl, config_file
19+
ld de, serial_cfg
20+
ld bc, serial_cfg_end - serial_cfg
21+
MOSCALL mos_load
22+
1723
ld hl, vdu_init
1824
ld bc, init_end - vdu_init
1925
rst.lil $18
@@ -35,18 +41,23 @@ _term_init:
3541
in0 a, (REG_RBR)
3642
ret
3743

44+
45+
config_file:
46+
db "/mos/zinc.cfg", 0
47+
3848
serial_cfg:
3949
dl 57600
4050
db 8
4151
db 1
4252
db 0
4353
db 0
4454
db 0
55+
serial_cfg_end:
4556

4657
vdu_init:
4758
db 23, 0, 255 ; Switch to terminal emulation
48-
db "CP/M to MOS gate v.1.1", 13, 10
49-
db "2023 (c) Aleksandr Sharikhin", 13, 10
59+
db "CP/M to MOS gate v.1.2", 13, 10
60+
db "2025 (c) Aleksandr Sharikhin", 13, 10
5061
db 13,10
5162
init_end:
5263

build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
(cd sources && sjasmplus main.asm)
3+
(cd bootstrap && ez80asm cpm.asm)

disks/images/e/anagram.com

256 Bytes
Binary file not shown.

disks/images/e/chapter1.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
Thi� i� chapte� 1.
2+


disks/images/e/chapter2.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
Thi� i� chapte� 2.
2+


disks/images/e/chapter3.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
Thi� i� chapte� 3.
2+


disks/images/e/diary.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,4 @@ al
7171
Tomorro� i� ou� las� da� i� London� We'l� hav� t� mak� th� �mos� �
7272
o� it!
7373

74+


disks/images/e/dictsort.com

256 Bytes
Binary file not shown.

disks/images/e/find.com

256 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)