diff options
| author | Raymaekers Luca <luca@spacehb.net> | 2025-10-24 12:58:52 +0200 |
|---|---|---|
| committer | Raymaekers Luca <luca@spacehb.net> | 2025-10-24 12:58:52 +0200 |
| commit | 856fd58549e5bf50e800a665f9deb27d967df2fb (patch) | |
| tree | 6950210e5ae3618b501a7045f10f8fc06dd903df /src/sim86.mdesk | |
| parent | d8b3ca9d02377cf04a09e0f518a3385b7324bc4d (diff) | |
checkpoint
Diffstat (limited to 'src/sim86.mdesk')
| -rw-r--r-- | src/sim86.mdesk | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/sim86.mdesk b/src/sim86.mdesk new file mode 100644 index 0000000..6de46fc --- /dev/null +++ b/src/sim86.mdesk @@ -0,0 +1,32 @@ + +@table(name, str) sim86_flags_mapping: +{ + { Carry, "C", } + { Parity, "P", } + { AuxiliaryCarry, "A", } + { Zero, "Z", } + { Sign, "S", } + { Overflow, "O", } + { Interrupt, "I", } + { Direction, "D", } + { Trap, "T", } +} + +@table(name, title) songs: +{ + { French, "French Blues" }, + { Russian, "Russian Blues" }, +} + +@table_gen_enum_flags(songs, name) flags_songs +@table_gen_data(songs, `char *`, title) songs_strings + +@table_gen_enum_flags(sim86_flags_mapping, name) flags_8086 +@table_gen_data(sim86_flags_mapping, `char *`, str) flags_8086_strings + +@table_gen_enum sim86_enum: +{ + @expand(sim86_flags_mapping mapping) + `Sim86_$(mapping.name),` + `Sim86_Count` +}
\ No newline at end of file |
