Commit Graph
457 Commits
Author SHA1 Message Date
Ian Scott 2b2b995e22 v3.2.0 release 2025-08-09 15:46:00 -06:00
Ian Scott 3a5dc9b132 Migrate old settings in flash 2025-08-09 15:46:00 -06:00
Ian Scott 3fcdb17e5c Re-enable MPU in SB mode 2025-08-09 10:29:13 -06:00
Ian Scott 4b15e1c781 Send more midi bytes each loop 2025-08-09 10:28:57 -06:00
Ian Scott 4fc7cdedf2 Fix progress bar and extraneous newlines 2025-08-09 10:28:03 -06:00
Ian Scott bf6c52c607 More pgusinit refactor 2025-08-09 08:34:09 -06:00
Ian Scott c54450481f Refactor parseCommand and various commands
This means not having to pass the index into argv[] around, etc.
2025-08-08 22:08:41 -06:00
Ian Scott ab29256b64 Apply audio taper to volume setting 2025-08-08 19:49:59 -06:00
Ian Scott 07f8756379 Fix DC offset in 8-bit unsigned to 16-bit signed conversion 2025-08-08 19:49:16 -06:00
Ian Scott 3338477382 Clean up unused OPL2 detritus 2025-08-08 00:57:23 -06:00
Ian Scott 32cc5fb43c Remove long-replaced saa1099 2025-08-08 00:25:23 -06:00
Ian Scott e1791cc54e Project directory reorg 2025-08-08 00:21:39 -06:00
Ian Scott 91849ae2f1 Make sbdsp_sample() inline 2025-08-07 23:45:59 -06:00
Ian Scott 0027a65071 Volume scaling for bufferless_ng sbplay 2025-08-07 23:01:55 -06:00
Ian Scott 0b92610043 Merge branch 'House_Keeping' into sb_bufferless_ng_volume 2025-08-07 22:13:24 -06:00
Ian Scott c00b351f8a Fix DS4 joystick support 2025-08-07 21:38:56 -06:00
Ian Scott 94fa236b7f Make scale_sample inline 2025-08-07 19:51:07 -06:00
Ian Scott b2fc8ea00d Rename MODE_ to CMD_ to be less confusing 2025-08-07 19:50:47 -06:00
Ian Scott fb8638eca1 pgusinit quality of life improvements:
Restoration of prior pgusinit functionality:

- Case insensitive command line switches
- Bail out if there are errors detecting the card
- Bail out on firmware mismatch, but allow flashing new firmware

More QoL improvements:

- Generic paging interface that detects rows on screen
- /? and /?? are paged
- /cdlist uses new paging interface
2025-08-07 17:28:35 -06:00
Ian Scott a44a3a58e5 Fix CI build 2025-07-29 23:34:57 -06:00
Ian Scott db99167180 OPL command buffer has race condition now, disable 2025-07-29 22:51:09 -06:00
Ian Scott 52bc5ee602 Merge pull request #93 from korneliuszo/sb_bufferless_ng
Use polyphase resampling
2025-07-29 22:47:08 -06:00
Korneliusz Osmenda ff737af011 Use polyphase resampling 2025-07-29 22:09:03 +02:00
Ian Scott 779a81b90e More optimization 2025-07-29 08:09:15 -06:00
Ian Scott b076427863 Mostly working bufferless SB with CD 2025-07-28 21:56:41 -06:00
Daniel Arnold 50d0da2aa3 Initialize with set_volume()
Restores volume settings with mode changes and resets.
2025-07-14 06:55:37 -06:00
Daniel Arnold 1c939997e9 Fix printUSBMode() typo 2025-07-08 06:57:32 -06:00
Daniel Arnold 93dc398b22 Consolidate all volume printf to printVolume() 2025-07-07 08:07:34 -06:00
Daniel Arnold a9892121f0 /cdlist paging 2025-07-06 19:48:30 -06:00
Daniel Arnold 262986d75e Fix /cdvol 2025-07-06 08:34:30 -06:00
Daniel Arnold 77f9a05681 Add /save into command parser 2025-07-06 08:31:24 -06:00
Daniel Arnold 123247d958 Remove no commands check 2025-07-06 07:20:26 -06:00
Daniel Arnold 5f2976550e Finish main() cleanup 2025-07-05 14:52:31 -06:00
Daniel Arnold c9868f0d25 Remove unused variables 2025-07-04 11:55:59 -06:00
Daniel Arnold 95419bbfbc Use gMode for main card mode
This name might be temporary, but separating the main card mode from register modes to help remove overlap.
2025-07-04 11:53:25 -06:00
Daniel Arnold 286b7f1481 Print status functions
More clean up to main(). I am finding there is some overlap with the term "mode" which indicates the global card mode (ex. SB_MODE, GUS_MODE, etc) as well as register modes communicating with PicoGUS. The next commit I will probably spend some time distinguishing these two types for clarity.
2025-07-04 11:20:13 -06:00
Daniel Arnold 80c90a532e Add exit codes to CD load functions, fix /cdloadname, clean out void returns 2025-07-04 08:11:17 -06:00
Daniel Arnold 077fd8504c ctrlGet commands, cleanup printf feedback 2025-07-03 19:53:03 -06:00
Daniel Arnold e2fa0f75b7 Iterative command parser
Refactored the inline argument commands into functions that iterate through a command table. This should help make input commands more robust and easier to expand.

It also allows for default values when setting options. For example if the user wants a default value for the OPL port, they can use "/oplport default".

Since /sbport and /gusport always check the environment for SET BLASTER and SET ULTRASND, I added the function for pgusinit to retrieve these values from the environment directly. This could open up environment parsing for other variables in the autoexec.bat.

The commands should behave exactly as I did when they were inline to start, but can now easily be expanding.
2025-07-03 19:53:03 -06:00
Daniel Arnold 66b61eb0b2 Progress bar when flashing 2025-07-03 19:53:03 -06:00
Daniel Arnold 4dd60f8c4e Volume control tighten up 2025-07-01 10:57:53 -06:00
Daniel Arnold c84773c562 Volume control 2025-06-30 07:56:53 -06:00
Ian Scott 140fabb478 Update pgusinit README 2025-06-23 22:41:08 -06:00
Ian Scott a2904c9929 Add /loadname to pgusinit usage, update pgusinit README v3.1.0 2025-06-22 11:40:16 -06:00
Ian Scott c5f478d618 Update CHANGELOG for v3.1.0 2025-06-22 11:26:23 -06:00
Ian Scott 04bc287241 Save memory by sorting drive images in place in linked list 2025-06-22 11:07:00 -06:00
Ian Scott 02ba99b6aa Many fixes/improvements to CD image handling:
- Fix memory leak when changing images (file handle not freed)
- Longer max file length limit (127 chars)
- Better errors when USB not present
- Fix polling of CD status register when listing images
- Add ability to load image by name
- Many weird edge cases with image loading state fixed
2025-06-21 23:46:50 -06:00
Ian Scott d9d0007d25 Version 3.0.1 v3.0.1 2025-06-19 10:25:25 -06:00
Ian Scott 10745eda21 Fix MIDI output in SB and USB modes 2025-06-19 10:00:17 -06:00
Ian Scott d128a4fa2d Re-enable MPU in SB and USB modes v3.0.0 2025-06-19 09:04:47 -06:00