[Techtoolslist] Major Havoc Fluke 9010 scripts?
Jess Askey
jess at askey.org
Fri Jun 3 22:51:31 EDT 2022
Oh geez... just saw a sorta major typo...
The VGRAM data should be like this... apologies...
4000 00
4001 60 ;STAT COMMAND WITH PAGE VALUE EMBEDDED : 60 = Page 0, 61 = Page 1, 62 = Page 2 and 63 = Page 3
4002 20
4003 20 ;VGHALT
-----Original Message-----
From: Techtoolslist <techtoolslist-bounces at flippers.com> On Behalf Of Jess Askey
Sent: Friday, June 3, 2022 8:47 PM
To: Technical Tools Mail List <techtoolslist at flippers.com>
Subject: Re: [Techtoolslist] Major Havoc Fluke 9010 scripts?
I can try and help with this... I don't have a 9010A but I can walk through the memory map oddities for sure...
You have it correct on the Paged ROMs
The Paged RAM is as you show on the map... they left the zero page and the stack pointer area static so they are always the some no matter which RAM Page is selected... but for all intents and purposes... the RAM ends up being physically like this..
RAM @ 1J/K : 0000-07FF
RAM @ 1H/J : 0200-09FF
Depending on the paging, it simply swaps the overlapping region between the two RAM chips... this is used for Player 1 vs Player 2 game variables to keep the game state on each player.
So, on the Fluke... set RAM Page = 0 and test the range 0000-07FF, then switch to RAM Page = 1 and test 0200-09FFF for the other IC.
The Vector paging is more difficult and switching pages with the fluke is more difficult, but it should be able to be done (I think).
A little backstory... the Vector ROM paging is done via two bits in the STAT command to the vector generator. Since the Vector Generator is it's own State machine that runs independently from the Alpha processor, the ONLY way to change the Vector ROM page is to stuff commands into the VECTOR RAM and then tell the Vector Generator to start (VGGO @ address 1640). So, that step isn't really that difficult, but what it means is that you need to put the following bytes into the RAM @ 4000 (Vector Generator RAM) and then trigger VGGO.
Im not going to go into the details of the STAT command, you can look in the MAME source for that.
4000 00 ;THIS VALUE IS THE PAGE 00 = Page 0, 01 = Page 1 etc.. there are only 4 pages.
4001 60 ;STAT
4002 20
4003 20 ;VGHALT
IMPORTANT: Once you call VGGO from the Fluke, you need to monitor the VGHALT (read from 1200 and look at the lowest bit [01])... when this is HIGH == 1 == TRUE, then the VG is halted... which means it has finished switching the ROM page. If it is LOW == 0 == FALSE then it is still running and you may start reading VECTOR ROM before the page select is stable on the vector ROMs.
Once you get the VGHALT, then you can read the Paged Vector ROM space from 5000-6FFFF and get the checksum.
Let me know if any of that doesn't make sense and I can elaborate or fix my poor explanation. 😊
Good luck!
Jess
-----Original Message-----
From: Techtoolslist <techtoolslist-bounces at flippers.com> On Behalf Of davids at oz.net
Sent: Friday, June 3, 2022 3:31 AM
To: 'Technical Tools Mail List' <techtoolslist at flippers.com>
Subject: Re: [Techtoolslist] Major Havoc Fluke 9010 scripts?
The guide helps, I was able to get the Alpha Rom's to test, though I am getting different signatures if I do immediate mode (select page then do rom
sig) vs doing it in script code. That is a bit confusing.
For posterity:
Alpha rom pages are selected by writing to 0x1740 then you read them in addresses 0x2000-0x3FFF (1/2 a rom is paged in at a time). And the watchdog disable is key to that working.
00 = low 1/2 of the 1Q
01 = high 1/2 of 1Q
10 = low 1/2 1N/P
11 = high 1/2 of 1N/P
The memory map and mame driver mention paged ram, but the troubleshooting guide doesn't do anything to page it for testing and just testing the range 0000-03FF then 0400-7FF (which leaves the block from 0800-09FF untested).
This is odd as the two SRAM are 6116 which are 2K each. So this would need a memory map of 0000-07FF for each device. The schematics list a map of:
0000-01FF (1/2K)
0200-07FF (paged 3K)
0800-09FF (1/2k)
I need to play with writing to the Program ram select address 1780 and see what it does to the SWZRAM0/1 signals.
An additional strange thing is in the trouble shooting guide it looks like the are using address 0x4001 to select the paged vector rom:
60 = 1/2 6H
61 = 1/2 6H
62 = 1/2 6J/K
63 = 1/2 6J/K
The mame drive and the schematic memory map just list 4000-4FFF as Vec Gen Ram. The schematic page 6A shows 6J/K & 6H OE signals being controlled by way of MAP1 going into the LS04 at 4P.
But I don't see on the source of the MAP1 signal.
David
-----Original Message-----
From: Techtoolslist <techtoolslist-bounces at flippers.com<mailto:techtoolslist-bounces at flippers.com>> On Behalf Of B L
Sent: Thursday, June 2, 2022 11:22 PM
To: Technical Tools Mail List <techtoolslist at flippers.com<mailto:techtoolslist at flippers.com>>
Subject: Re: [Techtoolslist] Major Havoc Fluke 9010 scripts?
Have a look in the Major Havoc Troubleshooting guide (TG-252), there are your answers.
You need to apply the watchdog disable in order to carry out the tests.
Also, don't forget that you have 2 processors to (alpha and gamma) doing different stuff on this board.
________________________________
From: Techtoolslist <techtoolslist-bounces at flippers.com<mailto:techtoolslist-bounces at flippers.com>> on behalf of davids at oz.net<mailto:davids at oz.net> <davids at oz.net<mailto:davids at oz.net>>
Sent: Friday, June 3, 2022 6:12 AM
To: 'Technical Tools Mail List' <techtoolslist at flippers.com<mailto:techtoolslist at flippers.com>>
Subject: [Techtoolslist] Major Havoc Fluke 9010 scripts?
Working on a Major Havoc, and the funky memory map (paged, rams & roms) are giving me fits. Anyone have scripts for this game?
David
_______________________________________________
Techtoolslist mailing list
Techtoolslist at flippers.com<mailto:Techtoolslist at flippers.com>
https://pairlist7.pair.net/mailman/listinfo/techtoolslist
FTP site is: ftp://ttl.arcadetech.org/TTL/Test_Equipment
Archive site: http://seven.pairlist.net/pipermail/techtoolslist/
_______________________________________________
Techtoolslist mailing list
Techtoolslist at flippers.com<mailto:Techtoolslist at flippers.com>
https://pairlist7.pair.net/mailman/listinfo/techtoolslist
FTP site is: ftp://ttl.arcadetech.org/TTL/Test_Equipment
Archive site: http://seven.pairlist.net/pipermail/techtoolslist/
_______________________________________________
Techtoolslist mailing list
Techtoolslist at flippers.com<mailto:Techtoolslist at flippers.com>
https://pairlist7.pair.net/mailman/listinfo/techtoolslist
FTP site is: ftp://ttl.arcadetech.org/TTL/Test_Equipment
Archive site: http://seven.pairlist.net/pipermail/techtoolslist/
_______________________________________________
Techtoolslist mailing list
Techtoolslist at flippers.com
https://pairlist7.pair.net/mailman/listinfo/techtoolslist
FTP site is: ftp://ttl.arcadetech.org/TTL/Test_Equipment
Archive site: http://seven.pairlist.net/pipermail/techtoolslist/
More information about the Techtoolslist
mailing list