I've been looking in detail at the Goldstar implementation Andrew based the utility board on and have some observations and thoughts on how the Goldstar MSX2 design works.
The system on power up or reset needs to be able to access the system BIOS ROM; the ROM is in SLOT Zero starting at address 0x0000. The 8255 PIO is also reset at power up or on system reset resulting in the ports being set to input; this means Port A is not configured to allow access to the BIOS ROM in slot zero; the first few bytes in that ROM configure the 8255 to allow it to control the slots.
; $0000 CHKRAM
; Function : Tests RAM and sets RAM slot for the system
; Registers: All
; Remark : After this, a jump must be made to INIT, for further initialization.
; Initialize interface
; Initialize memory bank
We thus have a chicken and egg issue. In the Goldstar design U32A and U32B are configured as a set/reset flip flop. I believe this flip flop is the key to how the system powers up; the sequence would be:
8255 ports are set to input
The S/R flip flop holds the G inputs on U27 (74LS153) high; as both G inputs are high the two outputs (1Y and 2Y) are low.
These two outputs become the select inputs on U11 (74LS139). As A14/A15 are low (these to the G inputs on the LS139) the outputs of U11 that control slot 0 are low and the system can access the BIOS ROM to run the first few instructions; these run and the 8255 is set to configure the slots.
Y5 which is generated by the C port in the 8255 as part of the keyboard scanning; this then clears the S/R flip flop; the G inputs on U27 are set to 0s and the system enters the normal 8255 controlled slot mode.
The utility board design is using the 8255 select bit to clear the S/R flip flop; I don't believe this will work as it will reset the S/R flip flop before the 8255 is fully configured.
I'll be updating my monitor to configure the 8255 as the MSX2 BIOS does and will see if I need to tweak the utility board to match the Goldstar design.
You received this message because you are subscribed to the Google Groups "N8VEM-S100" group.
To unsubscribe from this group and stop receiving emails from it, send an email to n8vem-s100+...@googlegroups.com.