MMU - What does it require to operate?

General discussions or ideas about hardware.
Post Reply
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7454
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

MMU - What does it require to operate?

Post by stephen_usher »

Given @asapreta 's issue with his machine I thought it a good idea to spin out another thread discussing what the MMU requires to function.

Looking at the schematic it seems that almost all the connections are outputs and that maybe all the chip needs is power and the 16MHz clock signal from the SHIFTER after coming out of reset. At this point it should start the RAM refresh and listen to the address bus.

Are the /RAM, /DEV and /DMA pins inputs or outputs? What about /DE and /LOAD? I'm guessing that those two control the Shifter telling it when to read the data lines for display output. Is VSYNC generated by the MMU or the GLUE?

This sort of information would be useful for any diagnostics.

Similar functional information for the GLUE would be helpful as well.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ijor
Posts: 836
Joined: Fri Nov 30, 2018 8:45 pm

Re: MMU - What does it require to operate?

Post by ijor »

I'll try to elaborate later, but a quick answer to the specific questions about the function of some of the MMU signals.
stephen_usher wrote: Thu Oct 24, 2024 10:25 am Are the /RAM, /DEV and /DMA pins inputs or outputs?
Those are all GLUE outputs. They work like some kind of chip select, if you want. They indicate to MMU which type of bus cycle is being performed. A RAM access, an I/O access, or a DMA one.
What about /DE and /LOAD? I'm guessing that those two control the Shifter telling it when to read the data lines for display output. Is VSYNC generated by the MMU or the GLUE?
DE and VSYNC are also generated by GLUE as part of GLUE's video timing logic. DE means display enable. While DE is active MMU performs video RAM cycles. Yes, LOAD is a strobe generated by MMU for SHIFTER to signal the video ram cycle.

VSYNC is used by MMU only for resetting the video pointer to the video base.
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
User avatar
mrbombermillzy
Moderator
Moderator
Posts: 2347
Joined: Sun Jun 03, 2018 7:37 pm

Re: MMU - What does it require to operate?

Post by mrbombermillzy »

While I have nothing to add HW wise, I commend this topic as a way for people (like myself who dont generally deal with ST HW diagnosis) to learn more about the ST system operation without browsing over schematics.

I always enjoyed the long long threads over at AF about blitter timigs/wakestates/shifter specifics, and now hopefully the MMU can be laid bare.

This could help strike up answers/solutions/options for guys making the remakes too.

Keep it up! :dualthumbup:
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7454
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: MMU - What does it require to operate?

Post by stephen_usher »

Thanks @ijor very useful to know. I've not seen the functional description of the chips written anywhere, and especially not which are inputs and outputs.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
Post Reply

Return to “HARDWARE DISCUSSIONS”