Bug in the z80 emulation or in the TR HW ?????? (Development MSX Forum)MSX Resource Center               
              
English Nederlands Espa�ol Portugu�s Russian         
 News
   Frontpage
  News archive
  News topics

 Resources
   MSX Forum
  Articles
  Reviews
  Fair reports
  Photo shoots
  Fairs and meetings
  Polls
  Links
  Search

 Software
   Downloads
  Webshop

 MRC
   Who we are
  Join our team
  Donate
  Policies
  Contact us
  Link to Us
  Statistics

 Search
 
  

  

 Login
 

Username

Password




Don't you have an account yet? Become an MSX-friend and register an account now!.


 Statistics
 

There are 55 guests and 4 MSX friends online

You are an anonymous user.
 

MSX Forum


MSX Forum

Development - Bug in the z80 emulation or in the TR HW ??????

Goto page ( 1 | 2 Next Page )
Author

Bug in the z80 emulation or in the TR HW ??????

ARTRAG
msx master
Posts: 1747
Posted: August 12 2008, 23:35   
I need to state if the out (c),0 opcode exists in real TRs (in z80 mode) or not.

Apparently my TR A1GT (the real HW) does not execute the code undocumented out (c),0
corresponding to ED 71, but only the documented out (c),a, corresponding to ED 79,
even when in z80 mode !!!

The fact is that BlueMsx and OpenMsx both implement that opcode when on TR mode !

Where is the error ? In the emulators or in my own HW ?
Is the out (c),0 opcode supported by any TR ?

Are there known cases when out (c),0 opcode is not supported ?
Is there any TR owner willing to do some tests with the code I'll send him ?

I have two roms to use with Pasos SCC Flash rom

help!

Manuel, Daniel did you face the issue before ?


The files are here:
https://sites.google.com/site/testmsx/Home
NYYRIKKI
msx master
Posts: 1528
Posted: August 13 2008, 00:01   
I did some testing, and it seems that #ED, #71 does not do I/O in R800... In Z80 it does OUT (C),255 !? (Tested on A1GT)

ARTRAG
msx master
Posts: 1747
Posted: August 13 2008, 00:19   
Yes, I confirm
From my files you see that OUT (C),0 works like OUT (C),255

(on my A1GT naturally)
NYYRIKKI
msx master
Posts: 1528
Posted: August 13 2008, 00:27   
I actually did not try your files, but good that we agree...
ARTRAG
msx master
Posts: 1747
Posted: August 13 2008, 10:07   
PS

The files in the link are a special version of the 2K game Intruder.
It is worth a try, as they support sfx done with PCM samples (8 bit/sample and 7,6KHz sampling freq.)
jltursan
msx professional
Posts: 887
Posted: August 13 2008, 10:29   
Here's a reference of the undocumented opcode OUT (C),0 and the R800:

AS documentation

Seems that this opcode is one of the most incompatible ones as I'm aware that the Z80B also has problems with it.
ARTRAG
msx master
Posts: 1747
Posted: August 13 2008, 10:54   
If I understand correctly, the z80 inside the TR is fine, the problem could be in the I/O circuits of the TRs

PS
have you tested my roms ?

jltursan
msx professional
Posts: 887
Posted: August 13 2008, 11:21   
I'm at work right now, I'll try to test them later at home and since today I've received my new TR-GT I'll be able to test them on both machines (until I get rid of my now obsolete TR-ST :-P).

Btw, the SFX are astouding!, they could really set a new quality standard in MSX games; but,....wait....I'm hearing elephants and monkeys when robots die????
ARTRAG
msx master
Posts: 1747
Posted: August 13 2008, 11:28   
Well, the choice of SFX was intended just for testing


As the MOAM project is in the jungle I was looking for jungle sounds
beeing at work i was able to use only sjasm and not HiTech C,
so I worked on the sole game in ASM I had.

Now I have to do a choice between:
1) finding appropriate SFX for Intruder
2) porting the SCC SFX plaier in MOAM



jltursan
msx professional
Posts: 887
Posted: August 13 2008, 12:52   
Quote:

1) finding appropriate SFX for Intruder



You *must* use the berzerk original sounds, they're great!
DemonSeed
msx master
Posts: 1033
Posted: August 13 2008, 13:57   
Quote:

Chicken! Fight like a robot!



PingPong
msx master
Posts: 1025
Posted: August 13 2008, 14:16   
@ARTRAG: check your mail please!
ARTRAG
msx master
Posts: 1747
Posted: August 13 2008, 15:02   
@jltursan
now the ROM intruder_scc now includes (without any order) 30 PCM sfxs, 29 from the original game Berzerk


jltursan
msx professional
Posts: 887
Posted: August 13 2008, 15:42   
\o/ love it!, the randomness of the samples makes it a lot of psychedelic game!. It must great to play it in a big telly screen with BIG loud speakers
NYYRIKKI
msx master
Posts: 1528
Posted: August 13 2008, 15:55   
Quote:

PS

The files in the link are a special version of the 2K game Intruder.
It is worth a try, as they support sfx done with PCM samples (8 bit/sample and 7,6KHz sampling freq.)


Sorry, I don't have SCC Flash ROM.
 
Goto page ( 1 | 2 Next Page )
 







(c) 1994 - 2008 MSX Resource Center Foundation. MSX is a trademark of MSX Licensing Corporation.