![]() |
Forum Index : Microcontroller and PC projects : Homebrew Z80 Computer Kit, Basic, CP/M
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
CircuitGizmos![]() Guru ![]() Joined: 08/09/2011 Location: United StatesPosts: 1427 |
I understand that people do this routinely by using a PC sound input jack and decode software. Micromites and Maximites! - Beginning Maximite |
||||
OA47 Guru ![]() Joined: 11/04/2012 Location: AustraliaPosts: 986 |
Thanks CG, but I was using a non main stream computer using an RCA processor which I think from memory was a CDP1805 series which used some unique audio serial data. OA47 |
||||
Quazee137![]() Guru ![]() Joined: 07/08/2016 Location: United StatesPosts: 593 |
Here state side we had eight of the RCA cosmac elf in the micro lab at collage. There where about 40 different types of such boards donated to the lab. 6800 based even a NS32032 by National Semiconductor that ran I think a type of Unix it was monster size of a board. Some had hex display and keypad others where more raw in nature where you loaded your code into a eprom using a printer port burner. My first eprom was burnt using a breadboard and dip switched for data and counter chips for address. Took about four tries before I got it right. I still have a few of those burners boxed up with my CP/M disassembly on 8" that was used to reassemble a flavor of ZCPM by friends in a computer club in or near San Diego. I didn't travel at the time I was "very old style" wheelchair bound. All my notes where on what went in and out of a section of code. No op codes where passed only function. Many months of work most would not do now days. That is why I so glad I found TBS every one here lives for such workings. |
||||
retepsnikrep![]() Senior Member ![]() Joined: 31/12/2007 Location: United KingdomPosts: 134 |
Look on e-bay for a suitable drive and then perhaps this link http://www.classiccmp.org/dunfield/img/index.htm Gen1 Honda Insights. |
||||
Frank N. Furter Guru ![]() Joined: 28/05/2012 Location: GermanyPosts: 949 |
Hi Jman, I got your PCB today. Thanks a lot! Best regards Frank |
||||
f1fco Senior Member ![]() Joined: 18/03/2012 Location: FrancePosts: 155 |
Hi John, I have received the PCB today, all is pefect thank you again, Pierre, from Nimes, south of France 73s de F1FCO |
||||
CircuitGizmos![]() Guru ![]() Joined: 08/09/2011 Location: United StatesPosts: 1427 |
Thanks! I received mine. Micromites and Maximites! - Beginning Maximite |
||||
Frank N. Furter Guru ![]() Joined: 28/05/2012 Location: GermanyPosts: 949 |
Has anyone got their board up and running yet? Everything's working: GPIO's, button, LED's (unfortunately I don't have a RTC yet - it should have come by last saturday at the latest ![]() ...but unfortunately no SD card access!!! ![]() I get always: IOS: SD error 2 (NOT_READY on MOUNT operation) IOS: Check SD and press a key to repeat ...I tried four different SD cards - all the same... Only the BASIC on S220618_IOS-LITE-Z80-MBC2.ino works for me... ![]() Does anyone have an idea? Frank |
||||
jman![]() Guru ![]() Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Hi Frank Mine works as expected. Does your SD card adapter look like this one ![]() Regards Jman |
||||
Frank N. Furter Guru ![]() Joined: 28/05/2012 Location: GermanyPosts: 949 |
Hi Jman, thanks for your response! It's exactly the same modul! I have checked all connections (from SD card holder to level shifter and from level shifter to ATMEGA32A) and can't find any error... I received my RTC today - it also works like the rest of the components! Do you know a test sketch to test the SD card access? Which version of the PetitFS library have you installed? Which fuses did you use with the ATMEGA? - maybe that's where my problem is? I tried: High Byte 0xD6 Low Byte 0xAF Lock Byte 0xCF Regards Frank |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
Frank, Even though you say you've tried four different cards, are they all different types/makes/brands? Worth trying different capacity SDs too as this has often resolved 'strange' issues for me. Also try running a soldering iron over the SD socket's pins - very common to get a dry joint; or even a cracked joint or missing joint altogether. Don't forget to run soldering iron over the pins on the side of the socket too! Do let us know when you solve your mystery! WW |
||||
Frank N. Furter Guru ![]() Joined: 28/05/2012 Location: GermanyPosts: 949 |
Hi WW, the cards are all of different sizes (4GB to 16GB) and from different manufacturers. They are all FAT32 formatted and work with e.g. Color-Maximite or Duinomite without any problems. I've measured everything from pin to pin and can't find any errors. The contacts in the card holder look good under the microscope. It makes no difference whether I insert the card holder at all or whether a card is inserted or not. Possibly the level shifter is defective or I have some adjustment problem with the ATMEGA... Frank Update: I compiled the CardInfo sketch and it worket without any problems - I can see all my files on my card! ![]() |
||||
Frank N. Furter Guru ![]() Joined: 28/05/2012 Location: GermanyPosts: 949 |
Ok, I don't know why, but it works! ![]() I had to go to "pffArduino.h" under // SD chip select pin and change the entry to#define SD_CS_PIN 4 ...BUT WHY??? ![]() Now I have access to the SD card!!! (I hate Arduino!!!) Frank |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
The file already has that #define see https://cdn.hackaday.io/files/1599736844284832/S220718-R190918_IOS-Z80-MBC2.zip Puzzled now!! John |
||||
Frank N. Furter Guru ![]() Joined: 28/05/2012 Location: GermanyPosts: 949 |
Hi John, you are right! I think it was a user error on my part. I probably mistakenly didn't copy all files into the program directory and didn't notice it because PetitFS was already included as a library... ![]() ![]() ![]() Now it runs! ![]() Frank |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
Excellent :) Merry Xmas! John |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
is there any reason why the atmega32 (32k flash, 2k ram, 1k eeprom, 1x uart, 1x spi) shouldn't be replaced with an atmega1284 (128k flash, 16k ram, 2k eeprom, 2x uart, 3x spi)? i just happen to have a tube of 1284's here. at the least, using the 1284 should then allow building the arduino application to hold both the BASIC and FORTH interpreters internally as well as the cp/m loader and SD support (ie, no need for two versions: IOS and IOS lite). it may even be possible to extend SD support to the BASIC interpreter - i assume this is currently not available. cheers, rob :-) |
||||
jman![]() Guru ![]() Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Hi Rob The 1284 is supported by MightyCore so i dont see any reason why it wont work. Happy to test one for you and or flick you a PCB. The reason for the lite version is no file system support so Basic is in Rom and no SD card adapter required. With the full version Basic, Forth etc is loaded from disk so going to the 1284 has no adavantage (but you do have them in the draw ![]() Regards Jman |
||||
Frank N. Furter Guru ![]() Joined: 28/05/2012 Location: GermanyPosts: 949 |
Hi Jman, do you think it would be possible to use the second ATMEL UART from Basic? I miss a serial interface to the world... MERRY CHRISTMAS TO ALL! Frank |
||||
jman![]() Guru ![]() Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Unfortunately not as those pins are used. But maybe an I2C to serial device like this one SC1+IS750 Regards Jman |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |