Jump to content
IGNORED

Mame vs Prosystem emulator


Heaven/TQA

Recommended Posts

restarted to code on 7800...
what I don't get is why my code runs with color changes on pro system but not on mame?
the DLI is not triggered?
any ideas?

Console Hardware:

 

post-18-0-92703800-1545494777.png

 

 

Latest version of MAME, the demo works relatively fine:

 

post-18-0-76192400-1545494967.png

 

It also runs fine under A7800, which is even closer to precise hardware accurate behavior:

 

post-18-0-04202300-1545495046.png

 

While results for this demo have went well regarding the ProSystem emulator, it is highly discouraged to develop leveraging it.

 

In the past, as well as in more recent times, at least a couple of developers and hackers obtained results under the ProSystem emulator that did not reflect the same when tried with real hardware and much closer to hardware accurate emulators such as A7800.

  • Like 1
Link to comment
Share on other sites

[edit - scooped by Trebor! ]

 

How old is the MAME version you're using?

 

Your color changes seem to be working fine with A7800, which is based on MAME 1.88. (there are some emulation enhancements that are part of the MAME->A7800 update, but I don't believe any of them would impact this issue.)

Link to comment
Share on other sites

Are you running the NTSC "a7800" driver, or the PAL "a7800p" driver? I actually get a pink screen and hang at the following bit of code, in the a7800p driver with a7800 and mame.

 

post-23476-0-00585400-1545497510_thumb.png

 

Not sure if Bup defaults to NTSC or PAL.

 

I'm guessing this might represent what happens on a real PAL deck too.

  • Like 1
Link to comment
Share on other sites

Are you running the NTSC "a7800" driver, or the PAL "a7800p" driver? I actually get a pink screen and hang at the following bit of code, in the a7800p driver with a7800 and mame.

 

attachicon.gifhang.png

 

Not sure if Bup defaults to NTSC or PAL.

 

I'm guessing this might represent what happens on a real PAL deck too.

 

that's exactly what's happening on my sight... the DLI is not triggered... (the jmp * is correct).

Link to comment
Share on other sites

I am using name 0.204

 

https://www.mamedev.org/

*EDIT: RevEng beat me to the punch this time...LOL*

 

The same version of MAME is utilized in the captures provided above; however, I just realized you may be leveraging the PAL system and not the NTSC one. The ROM provided is currently set to NTSC. I tried that NTSC ROM, as well as a modified header to PAL version, under MAME and A7800 for the PAL region, and it results in a solid/frozen color screen.

 

Under the ProSystem emulator, force setting the console emulation to PAL or NTSC, and utilizing either a header set to NTSC or PAL ROM, works regardless. That is likely incorrect behavior, rather than accurate hardware results.

 

If someone with a PAL console can test the ROM that would ensure what should be experienced.

 

Plain binary and respective NTSC/PAL header versions attached below:

 

demo1.bindemo1_NTSC.a78demo1_PAL.a78

  • Like 1
Link to comment
Share on other sites

I'll look into why BupSystem isn't following the hardware later, but something stuck out in your source :

;******** Atari recommended startup procedure

	lda	#$02		; !!! 2 !!!
	sta	INPTCTRL	; Lock into 7800 mode
	lda	#$7F
	sta	CTRL
        sta	BACKGRND	;Disable DMA
	lda	#$00            
	sta	OFFSET
	sta	INPTCTRL

The "Atari Recommended" value for INPTCTRL is actually $07. Writing $02 only enables Maria, leaves the register unlocked, and could possibly re-enable the BIOS and cause a bus fight.

 

  • Like 2
Link to comment
Share on other sites

I'll look into why BupSystem isn't following the hardware later, but something stuck out in your source :

;******** Atari recommended startup procedure

	lda	#$02		; !!! 2 !!!
	sta	INPTCTRL	; Lock into 7800 mode
	lda	#$7F
	sta	CTRL
        sta	BACKGRND	;Disable DMA
	lda	#$00            
	sta	OFFSET
	sta	INPTCTRL

The "Atari Recommended" value for INPTCTRL is actually $07. Writing $02 only enables Maria, leaves the register unlocked, and could possibly re-enable the BIOS and cause a bus fight.

 

 

that was it!!! :D thx. I thought it's correct value as my source had those $02 !!!!! ;) now Mame has the colors... and a7800

  • Like 3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...