jabadiagm / MSXgoauld_tn20k

MSX Goa'uld board with Tang Nano 20k
GNU General Public License v3.0
44 stars 7 forks source link

About /M1, /RFSH, /WAIT operations #7

Closed YouInSun closed 2 months ago

YouInSun commented 3 months ago

Hello,

Thank you for your many help so far and I can see a MSX2+ on my MSX nearly :) I heard that the most game ROM cartridges don't use specified Z80's control pins.(/M1, /RFSH, /WAIT, etc) And I think the pins are used by some cartridges which can give and take the signals with Z80 for fetching op code directly. Could I ask about how I can check whether the pins operate well without a cartridge which can interact Z80 with the pins? Or, did you checked emulating the pins?

Thank you for your reply in advance.

Best regards.

jabadiagm commented 3 months ago

Hi,

Pins m1, rfsh and wait are functional, they are needed for memory management and timing, even without any cartridge. If you are familiar with gowin software, just enable GAO and plot z80 bus signals.

Enviado desde mi Alcatel OT511

El 16 mar 2024, a las 17:07, SunChip @.***> escribió:

 Hello,

Thank you for your many help so far and I can see a MSX2+ on my MSX nearly :) I heard that the most game ROM cartridges don't use specified Z80's control pins.(/M1, /RFSH, /WAIT) And I think the pins are used by some cartridges which can give and take the signals with Z80 for fetching operands directly. Could I ask about how I can check whether the pins operate well without a cartridge which can interact Z80 with the pins? Or, did you checked emulating the pins?

Thank you for your reply in advance.

Best regards.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

YouInSun commented 3 months ago

Hi,

Sorry about my inexperience with the application. What I got from signal waveforms were just below. It might be good to check when I have a device that can interact with the control signals :) Thank you for your reply anyway. image

jabadiagm commented 3 months ago

You need a modified firmware to run GAO, follow these steps:

Enable gao config file in project [image: imagen.png] Build firmware [image: imagen.png]

Flash new firmware, keep in mind the right name is ao_0.fs [image: imagen.png] Start GAO

[image: imagen.png]

Select FT2CH cable [image: imagen.png]

Start capturing [image: imagen.png] Power MSX on

[image: imagen.png]

Start sequence should be captured,

On Tue, Mar 19, 2024 at 4:04 PM SunChip @.***> wrote:

Hi,

Sorry about my inexperience with the application. What I got signal waveforms were just below. It might be good to check when I have a device that can interact with the control signals :) Thank you for your reply anyway. image.png (view on web) https://github.com/jabadiagm/MSXgoauld_tn20k/assets/19874053/91e9c758-4e2b-4ae6-9617-845c005fd6f3

— Reply to this email directly, view it on GitHub https://github.com/jabadiagm/MSXgoauld_tn20k/issues/7#issuecomment-2007427446, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACOYT45V3AB5AXEIMBVDJOTYZBHWBAVCNFSM6AAAAABEZNOXZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBXGQZDONBUGY . You are receiving this because you commented.Message ID: @.***>

YouInSun commented 3 months ago

Hi,

Thank you for your kind explanation and I got a timing chart like below. image However, could you let me know how I can trigger /WAIT signal on my MSX?

Best regards.

YouInSun commented 3 months ago

Hi,

I've got it another time! image

jabadiagm commented 3 months ago

Hi,

your second capture looks nice. There should be a pulse in WAIT right after a pulse in M1. First capture had something wrong, maybe a loose contact.

There is an explanation about WAIT signal in MSX here:

https://www.msx.org/forum/msx-talk/development/extra-wait-signal-all-instructions

Enviado desde mi Alcatel OT511

El 23 mar 2024, a las 13:13, SunChip @.***> escribió:

 Hi,

I've got it another time! image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

YouInSun commented 2 months ago

Thank you for your help!.

Best Regards.