It's also assigning string literals to char array struct members in a non-initializing context, which doesn't work.
As someone trying to piece together C knowledge from various b0rk3n tutorials (as a pre-Internet teenager in the early 90s) it's pretty provocative. Luckily I healed and levelled up since.
https://retrogames.biz/products/thea500-mini/
Fact is, with a little LCD and a nice keyboard, one could put the Amiga in the 'loo and have a fair bash at the old school while pushing one out, eh .. ?
/oric_telestrat_forever
Probably if you are interested in writing software for an Amiga, rather than nostalgia of old video games you might better begin with just the emulator.
You can boot it into a 'proper' A1200 and use it just like that, as a pretty decent little Amiga system - one doesn't have to only run the built-in OS/provided games, you know.. you can boot it like an Amiga would, albeit with USB.
With the distinctly relevant advantage that a) it is a small and compact, unassuming device .. and therefore can be duct-taped to the back of the LCD monitor[1] that has, inevitably, a 'spare' video input, and b) one doesn't have to install anything on your other .. potentially work-provided .. computer .. which you occasionally switch back to, when the cubicle alarm goes off ..
I mean, I use my raspberry-Pi for productive things. Having an Amiga handy here and there, has been great. Even the conference room monitor has extra inputs and some spots for duct-taping ..
[1] or underneath the desk, in the cabinet, whatever ..
minimig mist branch is a decent implementation in hardware.
The A500 mini is an open source emulator (amiberry, designed for the raspberry pi) put in a much cheaper board, enclosed by a nostalgia-inducing box, and sold at a very profitable price. There's nothing good I can say about it.
The author uses this code to dereference a pointer to a structure member:
Unless I've forgotten 30 years of C experience, I'd expect this to be: But it could be some peculiarity in the Amiga compiler.Now I just wish I had the money to buy an Amiga when I was a kid :-)