0x44cc has unofficially officially finally reached ANSI C'89 Freestanding compliance!
This means it supports double precision (IEEE 754) floating points (including software floats for consoles lacking the hardware for 64bit numbers and an FPU), all Freestanding headers, and all the features ANSI C'89 describes.
I don't consider it operational yet, as it's still not a single-solution until the __asm__ directive is implemented, which includes a partial assembler, so I'll be starting that tomorrow (technically today, since it's 2:30am).
At this point, I'm hoping to be "finished" with 0x44cc by the end of the year, though I'll be upgrading my 0x44 engine to support PS1, Mega Drive, and the NeoGeo before I shift back to finishing development of "Prelude to Darkness", and putting 0x44cc through the stress test.
1
34
It's important to always count our blessings, as no matter what, things can always get worse.
Started seriously making games over 15 years ago, rejected many offers to stay independent, and still haven't released anything.
That said, I'm so grateful for everything in life.
Happy Thanksgiving.
28
So I jumped the gun on this and forgot I'd actually done the research before making the decision (hopefully others can relate). Something I remembered only recently as I'm finally nearing the end of floating point support.
ANSI C'89, and later standards, dictate a double precision level only achievable with at least 42 bits, and since anything in between 2 words is both extra work and has noticeably slower runtime performance, 64bit doubles is the right call.
Lots of interesting stuff to unpack surrounding it as a history lesson (e.g. 80bit registers being used in the 80s for floating points) , but in short, less work for me: yay.
Can't believe it's almost December 😩
Damn. Making good progress on IEEE floats, which are pedantic and I expect most to use FIXED decimal (if anyone ever uses this but me), but I'm now realizing my size choices weren't ideal.
Currently:
float = 16bit FIXED / 32bit IEEE
double = 32bit FIXED / 64bit IEEE
long double = 64bit
However, ANSI C'89 rules explicitly state floating points without the F suffix are implicitly doubles, but 64bits though is an absurd default.
So yeah, I gotta change it to:
float = 16bit FIXED / 32bit IEEE
double = 32bit
long double = 64bit
63
Book Review: The MIPS Programmer's Handbook, by Erin Farquhar and Philip Bunce (1994)
This book has pretty good coverage of MIPS I, though it's surprising that it chose to omit both MIPS II and MIPS III. I suppose due to the fact that it takes time to write a book, and those took awhile to take off, so with that in mind, it's mostly focused on the R3000.
The book's greatest strength is that it shows many examples. The book is C focused, using <mips.h> and <machine.h>, with the latter explicitly shown in detail in the back.
The examples mostly focus on interrupts, though it does have a really good section on the stack frame, which is probably the most nuanced part about writing compilers, so it's nice to have a reference. That said, given the date, it should be no surprise that it's limited to the o32 ABI, which at the time was simply "MIPS".
While it has a really great compendium for instructions with thorough examples for usage, including macro instructions, I'm once again disappointed actual binary codes have been left out; something I find myself checking often while working on 0x44cc.
Overall, I think it's great, and anyone interested in MIPS I should check it out, but it does both leave out many parts of the architecture, though that does seem an intentional decision to target readers who already know MIPS to some extent.
TL; DR - It's a great resource, but not exhaustive.
1
1
178
Book Review: See MIPS Run by Dominic Sweetman
This book covers MIPS I-IV fairly exhaustively, along with giving peeks into MXDX and MIPS V, MIPS 16, and others.
It starts by going over the history and architecture, comparing it with CISC, detailing differences of the different generations, like the R3000 (of PS1 fame), R4000 (of N64 and PS2 fame), and others.
It then goes into detail covering all the quirks and details of working with MIPS, of which there are many. From determining the generation you're working with, to using interrupts, delay slots, cache usage, and more, this book goes well beyond the typical high level instruction view.
The book finishes up with walking your through getting started programming for it using C. In fact, most of the book is told from the perspective of a C/ASM programmer.
From a general assembly perspective, this book is a great place to start for those who know some assembly, but don't yet realize how vast the development environment is. For those wishing to learn more about MIPS from a programming level, I'd say this is likely the definitive book on the subject. For those interested in designing MIPS chips (like me), this is probably also essential, as it's simply too useful for understanding what the chips need to implement for the programmer.
3
3
255
MDMX* (Mips Digital Media Extension)
en.wikipedia.org/wiki/MDMX
12
Here's a link to the last review, which was another MIPS book, though I would say in retrospect, the TL;DR is that it's a VERY brief look at the subject and more of a quick pocket reference for those who like having physical references.
nitter.gq/0x44_/status/210472923…
Current book btw.
Part of my curratted list for my path to making the ArkStation, but I'm reading it much sooner than I had previously planned due to its current relevance with 0x44cc's first ISA being MIPS I (PS1).
In age where a lot of respected programming names having been saying AI is the future, I'm happy to be head in the opposite direction, and I think the future looks bright, as I'll continue exploring the wonderful world I grew up in.
Also, yes I got 3 of these too. ~$30 after shipping.
1
112
Damn. Making good progress on IEEE floats, which are pedantic and I expect most to use FIXED decimal (if anyone ever uses this but me), but I'm now realizing my size choices weren't ideal.
Currently:
float = 16bit FIXED / 32bit IEEE
double = 32bit FIXED / 64bit IEEE
long double = 64bit
However, ANSI C'89 rules explicitly state floating points without the F suffix are implicitly doubles, but 64bits though is an absurd default.
So yeah, I gotta change it to:
float = 16bit FIXED / 32bit IEEE
double = 32bit
long double = 64bit
Looking at the near future of 0x44cc, MD & NeoGeo specifically, and the 2nd CPU, a Z80.
It only has 4 registers, which is hard w/o an AST or IR.
I'll eventually add support (e.g. PC88), but for now, looks like I'll be writing some audio drivers in pure Z80 asm after M68K support. (Which should be easy since it has the same number of registers as MIPS I).
1
260














