* WIP Atari800 CAS file support
* Atari800: Basic CAS files work
* Atari800: tape timing corrections
* Atari800: Joy2 port turbos now work
* Atari800 CAS files last major bug and clean up
* Atari800 CAS sneak peek progress info for tapes
* Atari800: final CAS support touches
When video_off_hdmi=1 is set in MiSTer.ini, the ADV7513 HDMI
transmitter is powered down via I2C when the video_off timeout
expires, allowing the connected monitor to enter sleep mode.
HDMI is restored when user activity is detected (OSD opens).
* Add video_mode FIFO command for CRT video mode switching
- video.cpp: Add video_mode_cmd() that parses custom modelines and
applies them via video_set_mode(), with hfreq safety check blocking
modes outside 15625-16500Hz to protect 15kHz CRT monitors
- video.h: Declare video_mode_cmd()
- input.cpp: Dispatch "video_mode" commands from MiSTer_cmd FIFO
to video_mode_cmd()
* Remove hfreq guard from video_mode_cmd
The horizontal frequency check was limiting the command to 15kHz modes only. Removing it allows custom modelines with any frequency to be applied. Software at the other end must take care of not calling this API with unsafe frequencies.
* CD-i: Fixed buffer overflow
Fixed reintroduction of the buffer overflow by
commit 1addb89ff
Originally was fixed with c0171c9 but not yet
well understood.
* CD-i: Mount root folder NvRAM after core load
Instead of starting with an empty NvRAM,
"saves/CD-i/CD-i.sav" will be loaded instead.
Avoids machine reset by NvRAM change in case
a root folder CD image shall be used
* DiskImage: match new[] with delete[]
Signed-off-by: Sven Schnelle <fz@stackframe.org>
* st_tos: match new[] with delete[]
Signed-off-by: Sven Schnelle <fz@stackframe.org>
* scaler: fix calloc arguments
The first argument is the number of members, the second
argument the size of each member. Swap the arguments to
the correct order to prevent warings with newer compilers.
Signed-off-by: Sven Schnelle <fz@stackframe.org>
---------
Signed-off-by: Sven Schnelle <fz@stackframe.org>
deleting file by using wildcards isn't working with a shared
fs. Add the code to support deleting multiple files.
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Co-authored-by: Sven Schnelle <svens@stackframe.org>
* WIP Adding Atari800 side of things
* WIP Migrated some functionality from .sv to here
* WIP XEX file loading works, clean-ups
* WIP UART/SIO interface beginning
* WIP Adding Atari800 drive emulator
* WIP First version of the drive emulator working with ATR and XEX files
* WIP ATX files are working
* WIP HDD is now mounted separately
* WIP PBI/HDD is working too
* Cleaning up and adding supporting Atari ASM files
* Updated versioning information in the Atari800 FW
* WIP Adding support for the Atari 5200 core
* Atari 5200 support complete
* Atari800: fixed SIO timing bugs
* Atari800: sorting out SIO timing issues still
* Atari800: eliminate OSD lock up possibilities
* Atari800: Improved XEX loader
The x86 file sharing code opens files with O_WRONLY which maps
incorrectly to O_RDONLY. Fix this by explicitely mapping O_RDONLY
and O_WRONLY.
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Co-authored-by: Sven Schnelle <svens@stackframe.org>
* Fix bootcore config param
We fix the case of a given generic corename set in bootcore (without version and extension).
* When bootcore is not version specific, find the latest
* Refactor devcontainer into Docker Compose
We need to make the platform explicit (only via the Docker Compose) as the Dockerfile fetches a crosscompiler for x86.
* Add git to dev container
* Fix of-by-one error
ROMs with headers containing an internal name of 20 characters (or more) got truncated to 19.
* Make sure not to read outside of the intended header section
Got rid of the annoying message you get when opening the menu in a game that uses cpak.
It said "Saving..." even when there wasn't anything to save.
Cleaned up and refactored the save file code. Much easier to follow now.
* Saturn: fix the status of commands (Die Hard Arcade, Suchie-Pie Doki Doki Nightmare)
* Saturn: increase max seek delay between tracks (Pocket Fighter)
* Write unique game info to /tmp/GAMENAME
* Remove CD product code lookup, and crc32
* Remove product codes
/tmp/GAMENAME only uses file path and crc32
* Clean up
* Cleanup
* Only write CRC32 and or Product Code to /tmp/GAMEID
Realizing we already have the file path, this change writes the already calculated CRC32 and or game ID (N64 and PSX only) to /tmp/GAMEID. This ignores boot*.rom and cd_bios*.rom
CRC32: XXXXXXXX
Product Code: XXXXXXXXXXXX
* Clean up
* Update neogeo_loader.cpp
* Skip GAMEID for all BIOS files
* Guard behind log_file_entry ini option and clean up print statements
* Add MRA GAMEID support and improve GAMEID writing
MRA files use setname as serial
* Add MGL handling for /tmp/ STARTPATH, FULLPATH, CURRENTPATH, and FILESELECT
* Update mgl /tmp/ file handling