REMINDER - Stay logged in for at least 2 hours a week to get whitelisted.
Also it helps build a picture where our "good traffic" is coming from for detection scripts.
:o)

TOS RAM test routine ?

News,announcements,programming,fixes,game patches & discussions.
User avatar
Darklord
Site sponsor
Site sponsor
Posts: 1619
Joined: 20 Sep 2017 13:41
Location: Prestonsburg

Re: TOS RAM test routine ?

Post by Darklord »

exxos wrote: 13 Dec 2022 10:06
Doesn't pak have 32bit ROM ?? What speed chips is it using ?
I'm not sure about what speed the chips are. Here's the only
thing I could find from the manual that (might) apply:

Screenshot_20221213_192045.png
Screenshot_20221213_190815.png
Screenshot_20221213_190553.png

Sorry I couldn't be more helpful...
You do not have the required permissions to view the files attached to this post.
Welcome To DarkForce! www.darkforce.org "The Fuji Lives.!"
Atari SW/HW based BBS-Telnet:darkforce-bbs.dyndns.org 1040
User avatar
exxos
Site Admin
Site Admin
Posts: 28613
Joined: 16 Aug 2017 23:19
Location: UK

Re: TOS RAM test routine ?

Post by exxos »

Darklord wrote: 14 Dec 2022 00:23 Sorry I couldn't be more helpful...
It actually says 120ns in the first image :) But yeah 32bit ROM . Bet it would be even faster if it had 50ns ROMs and a firmware tweak.
User avatar
Darklord
Site sponsor
Site sponsor
Posts: 1619
Joined: 20 Sep 2017 13:41
Location: Prestonsburg

Re: TOS RAM test routine ?

Post by Darklord »

exxos wrote: 14 Dec 2022 00:54 It actually says 120ns in the first image :) But yeah 32bit ROM . Bet it would be even faster if it had 50ns ROMs and a firmware tweak.
I'd be perfectly willing to try that out! :lol:
Welcome To DarkForce! www.darkforce.org "The Fuji Lives.!"
Atari SW/HW based BBS-Telnet:darkforce-bbs.dyndns.org 1040
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3058
Joined: 19 Nov 2019 12:09

Re: TOS RAM test routine ?

Post by Badwolf »

exxos wrote: 13 Dec 2022 22:46 @Badwolf A bit of light reading https://mikro.naprvyraz.sk/docs/Coding/ ... ie/MMU.TXT :lol:
Have read it. More than once. Feels like when I got to the third general relativity lecture by about half way down! :lol:

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
exxos
Site Admin
Site Admin
Posts: 28613
Joined: 16 Aug 2017 23:19
Location: UK

Re: TOS RAM test routine ?

Post by exxos »

Badwolf wrote: 14 Dec 2022 09:51 Have read it. More than once. Feels like when I got to the third general relativity lecture by about half way down! :lol:
Yeah seems to give lots of examples of things what not to do :lol: :roll:
User avatar
sporniket
Site sponsor
Site sponsor
Posts: 1169
Joined: 26 Sep 2020 21:12
Location: France

Re: TOS RAM test routine ?

Post by sporniket »

As a first read about MMU, it is a bit dry indeed (and no pictures !).

http://marc.retronik.fr/motorola/68K/68 ... 86_9p].pdf "MEMORY MANAGEMENT UNITS FOR 68000 ARCHITECTURES" is a good primer (link because it's a 8 MB pdf). Then the datasheets of MMU MC68451, and especially the PMMU MC68851 make the text more palatable.

(edit : fixed link with square bracket that wreak havoc on bbcode :x )
User avatar
dml
Posts: 853
Joined: 15 Nov 2017 22:11

Re: TOS RAM test routine ?

Post by dml »

So I do basically the same sort of thing in BadMooD - I can provide source for the MMU module in that. However I didn't create that module for relocating stuff into ROM it was mainly used to shadow/mirror bits of memory elsewhere and change the caching attributes.

Looks like MAPROM has something similar to that module, although simpler looking, using some macros. By 'simpler' I mean it looks like a table. My own module consists of a set of functions used to create tables.


The MMU is a 'tree' structure built from page tables (arrays of page info entries). Each entry in the table has info & flags for the target address for a given page (being e.g. 8kb per page). The location of the entry in the tree itself infers the source location of memory being mapped. e.g. a page entry says 'this logical memory region should use that physical ram address'

So its a bit of a PITA to understand the details from the reference info and make a tree like this but with some decent macros/functions and a basic understanding of whats going on, it is not so hard.

The part which needs a lot of care is the fact the MMU tree must serve the whole system not just the changes you want to make. There is a single hardware pointer to the MMU tree and that tree must describe everything at once. If you get some of it wrong or leave some area of memory untreated in the tree, TOS will misbehave in exciting ways.

This means you also need some understanding of the existing tree and what it has set up for TOS, before you make a new one which does mostly the same thing.
User avatar
frank.lukas
Posts: 812
Joined: 19 Jan 2018 11:52

Re: TOS RAM test routine ?

Post by frank.lukas »

frank.lukas wrote: 05 Dec 2022 18:40 Fastram bar only ...

PAK030/50Mhz 64MB = 24s
PAK020/40Mhz 64MB = 35s
TF536 /50Mhz 64MB = 4m40s

... the ST Ram test bar is faster on the PAK Atari ST than on the TF536 Atari ST.


Atari TT 32Mhz 256MB = 2m20s

... the PAK machines are already faster than the Atari TT.
64MB Fastram DFB1 = 30s
Rustynutt
Posts: 230
Joined: 29 Sep 2017 08:24
Location: USA

Re: TOS RAM test routine ?

Post by Rustynutt »

stephen_usher wrote: 05 Dec 2022 22:00 Use my fixcrc program to fix that. :-)
Stephen, will your fixcrc work on a TOS 4.04 image?
Link?
Thanks :)
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7454
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: TOS RAM test routine ?

Post by stephen_usher »

I don't see why not. I would imagine that Atari didn't change the CRC test merely for TOS 4.x when they'd used it for all previous versions.
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.

Return to “SOFTWARE PROGRAMMING & DISCUSSION”

Who is online

Users browsing this forum: ClaudeBot and 3 guests