Initial commit of preliminary Alto2 driver by Jürgen Buchmüller
A few fixes to try to get it to compile, currently fails to compile
a2drive.c
Steal one bit from the ROM_BIOSFLAGSMASK and extend the ROM_BITSHIFTMASK to 5 bits (shifts up to 31).
Move DIABLO31 drive definitions to alto2.h for now. Clean up ROM loading, input port (keyboard) definitions and more
Move DIABLO31 drive definitions to alto2.h for now. Clean up ROM loading, input port (keyboard) definitions and more
Move DIABLO31 drive definitions to alto2.h for now. Clean up ROM loading, input port (keyboard) definitions and more
Add missing files to build rules for alto2 CPU core
Add missing a2mrt.c
Missed required change in shift for BIOS number
Trying to get PROM loading and memory regions sorted out.
Add ROM_GROUPDWORD to 32-bit and ROM_GROUPWORD to 16-bit PROM ROM_REGIONS. Set address shift to -2 and -1 in the address_space_config entries.
Get rid of UINT8 arrays of PROM data in the CPU context in favor of pointers to ROM regions defined in the driver using the alto2 CPU core.
Oops - unsaved changes: The addresses when trying to modify m_ucode dwords seem to be byte offsets. The -log output is closer to what I expect, but region seems too short.
Move PROMs to alto2_cpu_device.
Revert changes to romload.h and implement our own (P)ROM loading. Executing some instructions now possible.
Fix size of memcpy() for ucode and const. Change program address space width.
Implement octal format strings for device_state_entry::format() strings and use them in alto2_cpu_device.
Fix ALTO2_DEBUG=1 enabled code.
Make alto2_cpu_device::logprintf() actually print the debug output
Define LOG_xxx constants for the sections, m_log_type enable mask and m_log_level verbosity. Log output into the debug console.