Videopac / Odyssey2 forum
September 24, 2020, 09:13:00 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Al lot of attachments from Nov 2011 till april 2012 are damaged. Please ask the original poster to re-upload if you need them.
 
   Home   arcade Help Login Register links videopac.nl  
Pages: [1]   Go Down
  Print  
Author Topic: 9 bit x pos  (Read 1255 times)
Sorex
Played Munchkin once...
**
Posts: 50


« on: February 22, 2015, 12:19:33 AM »

Hello,

I'm reading in a source and pdf that the sprite xpos is 9 bit and that it requires some extra code.

I did a small test here and have a bouncing dot going over then entire width of the screen without any special code, just this

Code:
mov r0,#001h
movx a,@r0
inc a
movx @r0,a

is this something the emulator is not dealing right?

if it does then what is the need for that 9 bit routine?
Logged
Rene_G7400
Moderator
I take the Videopac and leave the Canoli!
*****
Posts: 2519



WWW
« Reply #1 on: February 23, 2015, 09:28:05 AM »

You don't need the 9th bit. It could be used to let the sprites move in smaller steps, but Soeren Gust might be the only one who has used it.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!