Skip to content

Conversation

@udo-munk
Copy link
Owner

No description provided.

sneakywumpus and others added 21 commits January 19, 2025 03:22
z80asm still compiles & runs on Coherent.
simdefs.h now includes inttypes.h, stdbool.h, and stddef.h.
Don't include these explicitly anymore in machines and iodevices.
Also make tarbell_rom_[enabled,active] bool.
Also change ice_cmd_loop parameter name from go_flag to go_mode.
modernize C: use typedefs and bools
Also some by-Hand formatting.
Verified generated object code stayed the same.
Moved types only used in netsrv.c from netsrv.h to netsrv.c.
Made internal functions/variables of netsrv.c static.
Move system includes not needed in netsrv.h to netsrv.c. This revealed that
cromemco-dazzler and imsai-vio need to include string.h with HAS_NETSERVER.

At least on Linux the first message queue created has an id of 0,
this triped up the code which expected a value > 0. Use -1 to mean no queue
connected and not 0.

The manual page of msgget(2) also states that the returned id is
a nonnegative integer, so 0 is a completely legal value.
Re-format, boolify, fix message queue id bug in David McNaughton's code
@udo-munk udo-munk merged commit b522adf into master Jan 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants