Commit Graph

58 Commits

Author SHA1 Message Date
Michel Pollet
e9f96e1c9b
libmui: Updated from upstream
Tons of internal changes

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-09-07 18:28:15 +01:00
Michel Pollet
589a73f98c
libmish: Updated from upstream
Thread safety stuff etc

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-09-07 18:28:15 +01:00
Michel Pollet
ea04883db3
Merge pull request #20 from ajacocks/main
add .desktop file
2024-07-06 05:21:27 +01:00
Alexander Jacocks
657ccf6f94 add .desktop file 2024-06-06 23:37:24 -04:00
Michel Pollet
11cdb8b209 Version 1.9: See Changelog for details
List is too long...

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-05-13 16:40:51 +01:00
Michel Pollet
d60bc9bee9
ui: Handshake! Dislexia Induced Typo, fixed
Fix the Hardware Handshake label :-)

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-03-13 09:50:05 +00:00
Michel Pollet
e231ecb762
Version 1.8, see changelog for details
Tons of changes, see changelog

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-03-13 08:45:11 +00:00
Michel Pollet
2e12a37bce
Floppy bitstream view, also major refactor of UI code
Split the UI into separate bits.
+ Bits that are X11/GLX only
+ Bits that are 'pure' opengl
+ Bits that are UI related but not renderer related

Hopefully with help porting to other platformsI

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-02-18 10:32:33 +00:00
Michel Pollet
ab8a746bc8
Mostly libmui general cleanup
Moved the new drwable control in it's own file. Removed unused headers
etc etc.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-02-15 10:45:46 +00:00
Michel Pollet
d399b12a9d
New about box. Also some fixes for some WOZ1 files
AppleGalaxian failed to load because of a sparse track map.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-02-14 20:38:34 +00:00
Michel Pollet
5650323d05
Support Write Protect in Disk2 load dialog, etc
Also fixes a crashing bug in cg.c, and various other bits.
2024-02-14 09:12:29 +00:00
Michel Pollet
01619cfe53
Fix for some crashing WOZ, uncommented code!
I had left a block of code commented out, and that was crashing some
disks with 'special' track mapping.

Also now clear the CRC field on the woz, if any, when writing tracks.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-02-13 08:46:09 +00:00
Michel Pollet
34e6bd299c
Updated READMEs
V 1.6 release, as well as some extra bits for libmui

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-02-12 17:04:15 +00:00
Michel Pollet
66937f3858
New DiskII Driver. Woz here we come
Complete replacement from the previous version, see readme for
details...
Short story is that theres support for WOZ 1/2 read/write disks, as now
emulate the low level LSS state machine.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-02-12 16:58:13 +00:00
Michel Pollet
59beeb2f68
emulator UI: Timing measurement helpers
Used that to check obvious timing issues for framerates etc, didn't find
any problem...

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-02-12 16:56:38 +00:00
Michel Pollet
f9b604c5ba
cpu: Sprinkled a few cycles
Missing cycles were a problem for timing critical disk read/writes

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-02-12 16:55:37 +00:00
Michel Pollet
ad86adfea4
Mostly libmui changes
+ Updated libmui
+ Typehead in the standard file dialog
+ More documentation in the header file
+ Made regexp optional, added a new way to specify suffix list

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-02-04 09:09:28 +00:00
Michel Pollet
6c5a52bd15
Fix for color issues, mostly dhires
Also started support for monochrome low-res -- displays bit patters at
the minute so not what we want, but luminance was added to the colors.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-01-23 10:12:42 +00:00
Michel Pollet
bd0cda4f02 Fix for 'black window' on some hardware
Plus a few other minor bits...

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-01-22 17:08:06 +00:00
Michel Pollet
352a7f0c62 Well when it doubt, make a .gif
Gave up on the videos, they just don't work

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-01-21 09:53:02 +00:00
Michel Pollet
e490651e7e
Update README.md
Tring the .mp4 demo transcoded to h264...
2024-01-21 09:30:36 +00:00
Michel Pollet
b49937d6a7
Still trying to get the video demo working
This time transcoded to .mp4 h264
2024-01-21 09:29:48 +00:00
Michel Pollet
de90954ad4 Trying to fix inline video in readme... 2024-01-20 12:12:26 +00:00
Michel Pollet
3fd0540a83 Version 1.5
Changes are just too long to list...

Signed-off-by: Michel Pollet <buserror@gmail.com>
2024-01-20 12:07:47 +00:00
Michel Pollet
4f3127eed3
Update c-cpp.yml 2023-11-03 11:34:17 +00:00
Michel Pollet
2d07a901df
Create c-cpp.yml
Not sure this will work, trying it...
2023-11-03 11:26:52 +00:00
Michel Pollet
71ae3b5d10 speaker: 'mix' the current sample
If multiple clicks are on the same sample, mix them together

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-29 04:54:05 +00:00
Michel Pollet
abc119b0b7 cpu: Added a few cycles here and there
This fixes the joystick reading loop

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-29 04:52:02 +00:00
Michel Pollet
5968ee58b8 Fixes build on pathnames with spaces #4
This seems to work now...

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-29 04:51:16 +00:00
Michel Pollet
d53b0bceff Added joystick support
It is limited for now, hard coded to mine. Still need some sort of way
to specify which button to map to the emulated joytick. Same with the
axis, currently default to 0,1

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 16:59:08 +01:00
Michel Pollet
08e1ff861e Sorted muu_sw.h
Also added a cycle-count test

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 16:58:02 +01:00
Michel Pollet
f9f5cbbd0e cpu: Sprinkle a few cycles here and there
Probably still missing the odd cycles

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 16:57:30 +01:00
Michel Pollet
cdca612df2 Added a mii_cycle_t type
Instead of using the sub-standard __int128

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 16:57:04 +01:00
Michel Pollet
af6ff70155 Split the CPU regulator thread to it's own file
Removed it fron the Nuklear file, as it's actually not doign anything UI
based.
Also cleanup up type names etc

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 07:23:06 +01:00
Michel Pollet
938be1724e speaker: Initialize debug fd
Was outputing garbage on the console. Doh.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 07:22:19 +01:00
Michel Pollet
3ee0061de6 Fix for missing control-XXX keys #6
These were mostly stolen by Nuklear handlers

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 07:21:42 +01:00
Michel Pollet
8ed001203d test: Updated mii_test to work with latest api changes
Mostly for benching/leak check purpose

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:30:25 +01:00
Michel Pollet
3ee2a36d38 mish: Removed globals.
Removed big horrible global used by mish commands, now use the parameter
made for it.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:29:41 +01:00
Michel Pollet
f030ed758e libmish: Reworked to add a 'kind' to commands
Quest to remove any globals from mii

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:28:53 +01:00
Michel Pollet
2f2cf15576 Removed dead code from mii.c
Keyboard uses a FIFO for a while

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:26:25 +01:00
Michel Pollet
5d0abefadf Added mii_dispose() -- clean up everything
Seems there are no leaks; only blocks left non-freed are the queue of
drivers, which is static anyway

Also added a MII_TERMINATE state to quit any 'main' loop.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:25:43 +01:00
Michel Pollet
73059bfd93 sw: Added a big soft switch bitfield
These are fetched often, so might as well cache them into a bitfield,
also removed the old BSR state, as it might as well be in that bitfield.

Converted all the user of these soft switches to this new bitfield.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:23:02 +01:00
Michel Pollet
66e2b7707d argv: Add --audio-off,--no-audio,--silent
Turn off audio at startup, not just unmute.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:17:47 +01:00
Michel Pollet
2f30c4986c speaker: Allow disabling audio, not just muting
Allow turning off the audio output (ie not initialize it). Also removed
the debug file descriptor global

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:16:56 +01:00
Michel Pollet
cb17359921 video: Fix Amber! #5
Forgot to flip these channels

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:15:42 +01:00
Michel Pollet
ba97447894 speaker: added a _dispose() call
Free memory, turn off alsa

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:14:49 +01:00
Michel Pollet
60bf0ae000 slot: added a (*dispose)(...) call
For drivers

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:13:36 +01:00
Michel Pollet
a4ac4c0049 bank: Added mii_bank_dispose()
Also added a mode for the callback that will be called with NULL on exit

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:13:08 +01:00
Michel Pollet
8ff29a874f dd: Added mii_dd_system_dispose()
It was already there, just had no prototype

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:12:27 +01:00
Michel Pollet
8a3c40d6fd Fixed Compiling.md
Typos mostly

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:11:51 +01:00