Atari.Org
Click Here
HomeNewsServicesForumsSupport

Talk Atari

Atari.Org Forums


16/32-Bit

8-Bits

Classics

Emulation

Jaguar

Lynx

Classic Consoles Forum 8-Bits Forum 16/32 Forum
Emulation Forum Jaguar Forum Lynx Forum
 
 Subject: VCOUNT hits 131?
Author: Bennet (dsl093-182-018.sfo4.dsl.speakeasy.net)
Date:   03-27-2006 21:38

I noticed on a real 130XE that the VCOUNT register can report 131. This is completely undocumented because the internal VCOUNT goes from 0 to 261 (262 scanlines), so could never theoretically reach 131.

Note that the 131 value is extremely rare. I wrote a basic proram to read in vcount and compare against 130 and 131. It hits 130 1000x more often than it does 131. I'm hoping that's not an artifact of using basic to do the coding.

If internally the Antic increments VCOUNT, then a cycle later does a compare to reset it back to 0 then it's possible to read a 131 for one cycle or so.

Does anyone know what Antic is doing? I'd love a *clear* internal schematic of the chip but that's probably long gone. I'm trying to write a hardware description of the chip but I'm missing a lot of info. (The hardware description would be great for a perfectly accurate but quite slow emulator)

Thanks,

-Bennet

 Topics Author  Date
  VCOUNT hits 131?  Bennet 03-27-2006 21:38 
   RE: VCOUNT hits 131? new Steve 03-27-2006 22:53 
    RE: VCOUNT hits 131? new Bennet 03-27-2006 23:16 
     RE: VCOUNT hits 131? new Steve 03-29-2006 22:24 

 Reply To This Message
 Your Name:
 Your Email:
 Subject:
 Human verification:   What's this?
               _    __     _ _     
 _ __  ___ _ _| |_ / _|___| (_)___ 
| '_ \/ _ \ '_|  _|  _/ _ \ | / _ \
| .__/\___/_|  \__|_| \___/_|_\___/
|_|                                
    



Copyright © 1997-2024 Atari.Org 
Atari is registered trademark of Infogrames