TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

CP/M development environment setup

65 pointsby maglavaitssalmost 9 years ago

12 comments

mindcrimealmost 9 years ago
A box from Jameco with a few Z80 chips, some SRAM and some EEPROMS showed up on my doorstep yesterday morning. Yep, I&#x27;m going to take a stab at doing a homebrew Z80 based machine. :-)<p>Assuming I get something useful built, I guess I&#x27;ll try to get CP&#x2F;M up and running on it (it&#x27;s that or try writing my own OS, I suppose), so this may be very useful.<p>I know what you&#x27;re thinking... &quot;why, for the love of FSM, would you build an 8-bit microcomputer today?&quot; In my case, it&#x27;s partly for fun, and largely for educational purposes. I&#x27;ve been a software guy my whole career, and while I&#x27;ve dabbled with some hobby electronics stuff, I never really learned a lot about the low level computer architecture stuff, and the hardware aspects. So I want the understanding that comes from literally building a machine from IC&#x27;s. I want to understand more about how the data bus works, how I&#x2F;O works, the timer for the CPU, interrupts at the hardware level etc.<p>And interestingly enough... I&#x27;ve done some searching and have found some cool projects where people have built Z80 machines and added things like USB support, PS&#x2F;2 keyboard support, SD card interfaces, etc. Not bad for a CPU that&#x27;s 30 some odd years out of date.
评论 #12010221 未加载
评论 #12009977 未加载
评论 #12009079 未加载
cannamalmost 9 years ago
The Research Machines 380Z (<a href="http:&#x2F;&#x2F;www.theregister.co.uk&#x2F;2013&#x2F;11&#x2F;13&#x2F;archaeologic_the_research_machines_380z_story&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.theregister.co.uk&#x2F;2013&#x2F;11&#x2F;13&#x2F;archaeologic_the_res...</a>) is the machine I&#x27;ll always (happily) associate with CP&#x2F;M. That article says &quot;even in 1982, the 380Z was a veteran&quot;, and that was still a couple of years before I ever got to use one. My school had two of them in the mid-to-late-80s that had long been seen as obsolete (having been replaced by a room of BBC micros) but were still sitting around and that nobody else wanted to use. I used to write text adventures and tank games on them and I had a plan for a crude version of Lords of Midnight that I&#x27;m pretty sure never got anywhere. I still have the floppies, though I very much doubt if they&#x27;d read any more.<p>Love the industrial design of the 380Z as well.
评论 #12008899 未加载
评论 #12009171 未加载
spullaraalmost 9 years ago
I still have a Commodore 128 that has a second Z80 CPU just for running CP&#x2F;M. Really weird in retrospect.
评论 #12006868 未加载
评论 #12006853 未加载
评论 #12008430 未加载
评论 #12006902 未加载
评论 #12008379 未加载
CodeWriter23almost 9 years ago
Toward the end of my CP&#x2F;M days (~1986&#x2F;87) we had debugger named DSD for Dynamic Screen Debugger. Of course we take our modern IDEs for granted, but back then, being able to step one instruction to the next on screen, with the current instruction highlighted in inverse video, and all the registers and flags displayed in a box in one corner of the screen was pretty unbelievable.
评论 #12008085 未加载
t0mekalmost 9 years ago
Some of the 5.25&#x27; floppy drives for the 8-bit Atari [1] had the Z80 CPU and it was possible to run the CP&#x2F;M on it. The Atari was serving as a terminal for its own disk drive.<p>[1] <a href="http:&#x2F;&#x2F;www.retrobits.net&#x2F;atari&#x2F;indus.shtml" rel="nofollow">http:&#x2F;&#x2F;www.retrobits.net&#x2F;atari&#x2F;indus.shtml</a>
评论 #12007924 未加载
评论 #12009187 未加载
facorreiaalmost 9 years ago
I used to develop applications in COBOL for CP&#x2F;M microcomputers, then Dataflex and then, for a short time, Turbo Pascal. Some customers ran inventory and accounts receivable applications off floppy disks. Lots of manual data entry too.
评论 #12007949 未加载
评论 #12008435 未加载
评论 #12007811 未加载
FozzTexx_almost 9 years ago
Another alternative to building under an emulated CP&#x2F;M environment is to cross-build directly under Linux. If you need something that can assemble code intended for LASM you can use this: <a href="http:&#x2F;&#x2F;www.insentricity.com&#x2F;a.cl&#x2F;259" rel="nofollow">http:&#x2F;&#x2F;www.insentricity.com&#x2F;a.cl&#x2F;259</a>
codewritinfoolalmost 9 years ago
I used to run CP&#x2F;M on a couple of Vector Graphics MZ S-100 computers back in the early 80&#x27;s. I don&#x27;t remember a ton about it, but I think I loved it. Nostalgia is like that.
jnordalmost 9 years ago
There is also the 8086 verson of CP&#x2F;M, CP&#x2F;M-86, which runs well within VirtualBox.
arvieweralmost 9 years ago
I still have an Intertec Superbrain here. The looks of it alone make it worth keeping. It needs repairs, but I&#x27;m afraid the screen is dead (has stains on it), and then it&#x27;s probably over. I would like to be able to copy the 5.25&quot; disks, but how? I probably need an old DOS machine which can write to 3.5&quot; floppy or something... Hobby project for later! ;-)<p>Back in the 80s this was my machine, for Wordstart, Dbase II and Turbo Pascal mostly. I was one of the only kids with such a machine, although soon the PC would take over.
pjmlpalmost 9 years ago
I remember ZX Spectrum +3 having support for CP&#x2F;M.<p>Could only see it at a friend&#x27;s place, given that I only had access to a Timex 2068 and a ZX Spectrum 48K, none of them suitable for CP&#x2F;M.
评论 #12013061 未加载
评论 #12007261 未加载
PaulHoulealmost 9 years ago
Heck, I remember using an emulator on a 286 PC clone to develop CP&#x2F;M software circa 1988.