cpm8266
cpm8266 copied to clipboard
uncomplete make
"make full" build and upload the emulator but not the disks. Boot sequence ends with "cpm8266 - Z80 Emulator and CP/M 2.2 system version 0.4" Still I was not able to figure out how to recursively build and upload all the pieces.
On Debian9 xxd
no longer is in the package vim-common
but comes in an own package xxd
now. After installing xxd
(and fixing issue https://github.com/SmallRoomLabs/cpm8266/issues/22), make full
succeeded here.
Maybe it is similar in your favourite Linux distribution too?
(Added to issue https://github.com/SmallRoomLabs/cpm8266/issues/15 too.)
cpm8266 - Z80 Emulator and CP/M 2.2 system version 0.4
62K CP/M v2.2 [cpm8266 v0.4 - SmallRoomLabs]
a>dir
A: ASM COM : CRC COM : CRC MAC : DDT COM
A: DDTZ COM : DUMP COM : ED COM : FILES TXT
A: LOAD COM : PIP COM : STAT COM : SUBMIT COM
A: XR COM : XS COM : XSUB COM : FREE SUB
A: ZDE COM
a>█
make is ok now. now disk write fails (99%) at the default address 3932160. Writing A disk (alone) to 3915776 everything is fine but i'm no more able to connect to emulator. still investigating...
I only used make full
and that wrote all disks to the ESP-12E based NodeMCU-Devkit-V1.0 (maybe a clone, maybe not).
Which ESP8266 module variant are you using?
same kind of board but without any output in the console. using a s1 module (1m flash) and not "burning" any disk i was at least granted with a message from the emulator. i'm going to investigate a possible fake flash chip.
The program plus 15 disk images of 256kBytes each won't fit in less than a 4MBytes flash.
The 4M board get all the code but can't drive the serial port, the 1M board can drive the serial port but can't fit all the code. In both cases the chip is ch340 but the S1 board only uses rx/tx pins and I've to manually press the reset&program buttons. maybe the clone uses too many pins from the ch340? time to check the screen command....
NodeMCU-Devkit-V0.9 CH340 to ESP12 wiring:
https://raw.githubusercontent.com/nodemcu/nodemcu-devkit/master/Documents/NODEMCU_DEVKIT_SCH.png
it turned out that the only supported programming mode was dout for the 4m board and dio for the 1m board. despite failing most of the time, the dout programming mode burn a working flash. dio never fails but never generates a working flash. https://github.com/esp8266/Arduino/issues/3753