cpmish
CppCoreGuidelines
cpmish | CppCoreGuidelines | |
---|---|---|
15 | 307 | |
332 | 41,562 | |
- | 0.7% | |
8.6 | 7.6 | |
4 months ago | 15 days ago | |
Assembly | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cpmish
-
Found this guy sitting in my University’s ewaste room…
If you don't find the original and want to do your own, let me gently plug https://github.com/davidgiven/cpmish as a turnkey CP/M build system? Some of the commands are a bit janky but it should be easier than rolling your own. There's a choice of the original DR BDOS and CCP or ZCPR3 and ZSDOS.
-
Teaching myself how to write CP/M assembly-language programs on my Japanese word processor.
I actually have a project where I'm trying to collect provably open source classic CP/M software and integrate it into a turnkey build system, at https://github.com/davidgiven/cpmish/tree/master/third_party. There's some tools there you might find useful, such as a Basic, about three text editors, a good debugger, a shitty Z80 assembler which I wrote (I have yet to find a classic one with a license attached), and a copy of Star Trek. It's aimed at producing bootable disks but as you already have a working system you won't want that, but you should be able to just pull the .COM files out (file a bug and I'll try and make that easier).
- Picked this baby up for $25 today!
-
MS-DOS was *not* an illegal clone of CP/M
Huh. Lost my part-written comment somehow.
Anyway, hi, author/submitter here.
I have heard several versions of this story. Most seem to be unsubstantiated AFAICT.
The one that seems to add up is that Dr Kildall claimed that only he knew why some DOS APIs took the exact parameters they did.
Which ISTM is fair enough, if they were written using DR documentation. As I said, DR intended the API docs to be for app writers, but that didn't stop people using them to write compatible OSes, and lots of companies did.
That's how come David Given's amazing CPMish OS was possible:
https://github.com/davidgiven/cpmish
CPMish combines existing BDOS and BIOS replacements and other components. It puts together so many existing replacement parts for parts of CP/M-80 that nothing of the original was left. Theseus' ship, in software:
https://en.wikipedia.org/wiki/Ship_of_Theseus
There was a code investigation that looked for any DR code in the early MS-DOS binaries:
- Ask HN: Why are there not a lot of hobby/professional Linux phones?
-
CP/M bringup on a Brother WP1 word processor
cpmish is actually mine. It's a proper open-source CP/M clone distribution I've been working on: https://cowlark.com/cpmish/ It's 'ish' because unfortunately Caldera's license for real CP/M has bugs in it and so I can't use any of it. This version's actually using ZCPR and ZSDOS.
-
Teardown of a Brother WP-1 Z80-based word processor from 1985
I do have CP/M ported to a few of these machines. https://cowlark.com/cpmish/
-
Before I had a computer...
I've done some reverse engineering on these, and have CP/M running on at least some of them! https://cowlark.com/cpmish/
-
6502 vs. Z80
OTOH the Z80 will run CP/M, or an open source CP/M clone (I made one! http://cowlark.com/cpmish), which will give you access to a huge variety of ancient software which will work out-of-the-box --- excellent if you want a Cobol compiler or to use WordStar. Also, CP/M is pretty easy to port due to its modular design.
-
Build an 8-bit retro computer powered by a Z80 !
http://cowlark.com/cpmish/ is a proper open-source CP/M clone which runs on the Z80. It's based on ZSDOS and ZCPR1, it's got a turnkey cross-compilation build system which builds everything (including utilities written in C which include an assembler, editor and interactive debugger, plus R.T.Russell's superb BBC Basic port) and spits out a disk image file. It contains no Digital Research code for licensing reasons. It's probably the easiest way to get a CP/M clone up and running on now hardware.
CppCoreGuidelines
-
Are We Modules Yet?
If you aren't aware of the c++ core guidelines[1] - it should be on your radar.
Also, it might not be a popular opinion, but I think Bjarne's books are just fine.
A Tour of C++ (3rd edition) [2]
Principles and Practice Using C++ (3rd Edition) was just published in april 2023 [3]
[1] https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC...
- Learn Modern C++
- C++ Core Guidelines
-
Modern C++ Programming Course
You need to talk to Bjarne and Herb...
"C++ Core Guidelines" - https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines
- CLion Nova Explodes onto the C and C++ Development Scene
-
Toward a TypeScript for C++"
In addition to the other comments -
TypeScript deliberately takes a "good enough" approach to improving JavaScript, instead of designing an ideal but incompatible approach. For example, its handling of [function parameter bivariance](https://www.typescriptlang.org/docs/handbook/type-compatibil...) is unsound but works much better with the existing JavaScript ecosystem. By contrast, a more academic functional programming language would guarantee a sound type system but would be a huge shift from JavaScript.
By analogy, Herb Sutter is arguing that something like the [C++ Core Guidelines](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines), with tooling help in this new Cpp2 syntax, can bring real improvements to safety. Something like Rust's borrow checker would bring much stricter guarantees, backed by academic research and careful design, but would be incompatible and a huge adjustment.
-
MechE student here. Is there benefit to learning C in addition to C++, or can one do everything with C++ that can be done with C?
https://www.youtube.com/watch?v=2olsGf6JIkU
-
C++ is everywhere, but noone really talks about it. What are people's thoughts?
Take a look at Effective Modern c++ by Scott Meyers and the ISO c++ core guidelines. These resources are great for learning how to write better, more modern C++. I don't think it would be hard to grasp if you're already familiar with the language, just make sure to actually write some code which makes use of this stuff, otherwise it's easy to forget.
-
What are some C++ specific antipatterns that might be missed by C#/Java devs?
Look to the C++ Core Guidelines. It's not perfect, it has some flaws, including some sabotaging advice apparently adopted for political reasons. But at least it has some C++ authorities (Bjarne and Herb) as authors.
What are some alternatives?
RomWBW - System Software for Z80/Z180/Z280 Computers
Crafting Interpreters - Repository for the book "Crafting Interpreters"
z80-playground-cpm-fat - CP/M for the Z80 Playground that runs on the FAT disk format
github-cheat-sheet - A list of cool features of Git and GitHub.
RunCPM - RunCPM is a multi-platform, portable, Z80 CP/M 2.2 emulator.
LearnOpenGL - Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
millfork - Millfork: a middle-level programming language targeting 6502- and Z80-based microcomputers and home consoles
git-internals-pdf - PDF on Git Internals
cowgol - A self-hosted Ada-inspired programming language for very small systems.
Power-Fx - Power Fx low-code programming language
cpmhttpd - A basic web server for CP/M
clojure-style-guide - A community coding style guide for the Clojure programming language