cpm8266 icon indicating copy to clipboard operation
cpm8266 copied to clipboard

uncomplete make

Open aldolo69 opened this issue 6 years ago • 8 comments

"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.

aldolo69 avatar Sep 15 '18 03:09 aldolo69

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>█

drawkula avatar Sep 15 '18 10:09 drawkula

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...

aldolo69 avatar Sep 16 '18 19:09 aldolo69

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?

drawkula avatar Sep 16 '18 19:09 drawkula

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.

aldolo69 avatar Sep 17 '18 15:09 aldolo69

The program plus 15 disk images of 256kBytes each won't fit in less than a 4MBytes flash.

drawkula avatar Sep 17 '18 15:09 drawkula

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....

aldolo69 avatar Sep 17 '18 19:09 aldolo69

NodeMCU-Devkit-V0.9 CH340 to ESP12 wiring:

https://raw.githubusercontent.com/nodemcu/nodemcu-devkit/master/Documents/NODEMCU_DEVKIT_SCH.png

drawkula avatar Sep 17 '18 19:09 drawkula

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

aldolo69 avatar Sep 18 '18 03:09 aldolo69