Related changes (nw):
- Split up hc11_regs_r/w into many separate handlers
- Give each MC68HC11 model its own specific io_map
- Remove now-unnecessary readback handlers from skeetsht.cpp and taitojc.cpp
* [Imgtool] Add write support for Thomson BASIC
* [Imgtool] Fix passing --filter= to imgtool get command
This command should work:
imgtool get thom_fd inondation-d-additions.fd INONDATI.BAS TEST.BAS --filter=thombas7
as it matches the expected syntax:
Usage: imgtool get <format> <imagename> <filename> [newname] [--filter=filter] [--fork=fork]
but does not because imgtool fewer "maxargs".
Increase the maximum number of arguments by 2 to cater for --filter and
--fork being passed.
* [Imgtool] Fix handling multiple tokens in BASIC tokenizer
The line:
10 LIMIT$=STR$(LIMIT(N))
was not getting tokenised properly because the loop looking for tokens
wasn't exited and consumed consecutive tokens.
So $ was getting detected, token_shift and token_value were set, the
cursor position got incremented, then = got detected on the next
iteration of the loop.
We should instead exit the loop, and write what we already have.
Closes: #5478
* Enable precompiled header usage in the Visual Studio compiler
But only for libraries emu frontend precompile dasm optional
Also add emu.h include to hpcdasm.cpp
* Include emu.h in some disassembler sources to use precompiled headers
* Remove debug message
* Added compile time define to use joystick/buttons inputs in Athena no Hatena
* Changed solution to use PORT_CONDITION instead of compiler definition per suggestion from MAME dev
This now works with both single density and double density floppy disks, and
dynamically identifies boot sector IDs required for 6800 booting, and supports
writing back to the 'dsk' image files.
The UniFLEX disk format is not compatible with the Flex format. Significantly it
does not use a mix of single density for booting on some double density disks
which makes it simpler - hardware required a new boot ROM to run UniFLEX.
Further, the UniFLEX sector size is 512 bytes versus 256 for Flex, and the
UniFLEX 'SIR' info sector record is completely different to the info on Flex
disk, and the file system format is also not at all compatible.
Thus the UniFlex format can rely largely on the WD17xx format, with an
overload to handle the sector numbering on the second side continuing from the
first side (one feature in common with the Flex format). This gives a quick
'save' capability and shares code.
Support for 8" disks is included as this was the initial distribution format
and the only one found so far.
Some machines do not connect the SSO output to control the floppy side. When
this new callback option is used the wd_fdc no longer controls the floppy,
rather calls the SSO callback.