Skip to content

Commit

Permalink
Merge pull request #15 from nihirash/dev
Browse files Browse the repository at this point in the history
Current development branch
  • Loading branch information
nihirash committed Jul 3, 2024
2 parents 05f2e8b + 07c0c6c commit 7a0b80f
Show file tree
Hide file tree
Showing 58 changed files with 30,251 additions and 46 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
*.lst
*.bin
*.com
*.hex
*.prn
emul/
tmp/
emul.sh
emul.sh
src/zinc-shell/
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024.06.22
2024.07.03
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 2024.07.03

* ez80asm updated to 1.8 version

* Buffered read input can be interrupted with ESC key(with application shutdown)

* Applications directory added(added kermit sources and binary, z80asm and UART1 usage examples)

* Set color control code

* Terminal emulation minor fixes

## 2024.06.22

* BBC Basic partly working with files but still have issues
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ASM=ez80asm
ASM_FLAGS:=-i -l
ASM_FLAGS:=-i -l -v
SOURCES:=$(shell find src/zinc -type f -iname "*.asm")
BINARY=zinc.bin
EDOS=src/zinc/edos/edos.bin
Expand Down
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ After this you'll have possibility run CP/M applications with `zinc` command lik
zinc mbasic test
```

You shouldn't specify file extension for executable file(`.com` will be added automatically) and directory should no contain files with long file names.
You shouldn't specify file extension for executable file(`.com` will be added automatically) and directory should no contain files with long file names.

**NB!** Please don't specify file names with path. It should be executed in directory where CP/M files are(current directory will be used as emulated disk drive).

### Using UART1 from CP/M Applications

Expand Down Expand Up @@ -50,6 +52,10 @@ It also allows disable(and re-enable terminal emulation routines) with `27, 255`
* `0x1B` - ESCAPE control sequences:

- `ESC`+`=` - load cursor position(`ESC`+`=`+`y-coordinate`+`x-coordinate`)

- `ESC` + `f` - load foreground color(`ESC` + `f` + `color number as byte`)

- `ESC` + `b` - load background color(`ESC` + `b` + `color number as byte`)

- `ESC`+`0xFF` - toggle terminal emulation(enable or disable it)

Expand All @@ -59,6 +65,8 @@ It also allows disable(and re-enable terminal emulation routines) with `27, 255`

Honestly, I think It will be easier port it to MOS than fix execution under ZINC.

* Buffered input can be interrupted with ESC with application termination(instead CTRL+C in vanilla CP/M)

## Development

You should use fresh version of [agon-ez80asm](https://github.com/envenomator/agon-ez80asm) for building system.
Expand All @@ -73,4 +81,6 @@ You can support me via my [Ko-Fi page](https://ko-fi.com/nihirash).

This project licensed with [Nihirash's Coffeeware License](LICENSE).

It isn't hard to respect it.
It isn't hard to respect it.

All third-party projects covered with their own licenses.
Binary file added apps/3rd-party/kermit/MLOAD25.COM
Binary file not shown.
Binary file added apps/3rd-party/kermit/bin/kermit.com
Binary file not shown.
5 changes: 5 additions & 0 deletions apps/3rd-party/kermit/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
zxcc lasm cpsker
zxcc lasm cpxtyp
zxcc mload25 kermit=CPSKER,CPXTYP
mv kermit.com bin/
Loading

0 comments on commit 7a0b80f

Please sign in to comment.