Working Digital I/O Board running CP/M with MBasic

173 views
Skip to first unread message

Derrick Green

unread,
May 9, 2017, 10:28:11 PM5/9/17
to RC2014-Z80
I am pleased that the Digital I/O board works flawless with CP/M and MBASIC. I am glad I am able to save files to my compact flash drive. I am keeping programs and languages on the B: Drive since I have no desire to get a 3.5 floppy drive working. The buttons also work. I will have to try out some other programs and experiment with the chip set. I think there is one that counts binary. 

mbasic dio.jpg
scanner1.jpg

Spencer Owen

unread,
May 10, 2017, 8:53:49 AM5/10/17
to rc201...@googlegroups.com
Hi Derek,

Is that an unmodified DIO board?

If so, can you confirm if LEDs show differently when you're just running CP/M and swap between different drives on the CF card?  Also, if you hold down any of the buttons and do a DIR in a drive that you know has files in it, do the files show up?

The reason I ask is that I was doing some testing yesterday, in particular trying out the diode fix that gfcwfzkm posted a couple of days ago.  I found that I could use CP/M fine, and use the unmodified DIO module fine within mBASIC.  However, within CP/M itself, I would have different LEDs lit depending what drive I was in, or if I copied everything from drive C to drive B then disco mode was activated.  Holding down a button when doing a DIR normally resulted in a empty directory reply (although release the button, DIR and all the files are back).

The diode fix did indeed cure that, and after swearing a lot at ED, ASM and LOAD, I was able to write short code that could read the buttons and control the LEDs from CP/M itself.

Cheers

Spencer

On 10 May 2017 at 03:28, Derrick Green <dgree...@gmail.com> wrote:
I am pleased that the Digital I/O board works flawless with CP/M and MBASIC. I am glad I am able to save files to my compact flash drive. I am keeping programs and languages on the B: Drive since I have no desire to get a 3.5 floppy drive working. The buttons also work. I will have to try out some other programs and experiment with the chip set. I think there is one that counts binary. 

--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+unsubscribe@googlegroups.com.
To post to this group, send email to rc201...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/f07ad397-a946-44d1-b374-6088435e1218%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Derrick Green

unread,
May 13, 2017, 6:39:01 PM5/13/17
to RC2014-Z80
When I have not run the mbasic application in cpm pressing the buttons does not cause the system to lock up on my end the first led is always lit though. When I run your basic program on cp/m mbasic the program works correctly when I press a button as does your scanner program. I am still using Bakers compact flash card, SIO board and Rom/ram board along with your cpu, clock card and Digital Io rev 2 board. What is interesting though is after I run the program I have to manually reset the system and cannot exit mbasic using the system command. The first LED does turn off and all LED's function correctly. 
normal led status when basic is not loaded running cpm.jpg
button pressed running program in cpm.jpg
cpm basic.jpg

Paul Carbone

unread,
May 14, 2017, 9:26:16 PM5/14/17
to RC2014-Z80
Long time listener, first time caller...

Spencer -
I had the same symptoms that gfcwfzkm reported in booting CP/M.  After I implemented his clever diode mod, I was able to boot into CP/M and use I/O in mbasic.  I have not had any of the DIR based LED oddities that you mentioned.

THANK YOU for sharing all of your hard work, and for spawning this interesting little community!
Cheers,
Paul
Reply all
Reply to author
Forward
0 new messages