F.G. Kaal Posted October 1, 2021 Share Posted October 1, 2021 18 hours ago, fabrice montupet said: To re-concentrate to the subject of this thread, an other strange behavior of TI994W: With CALL SPRITE(#1,48,16,1,1), a white "0" should appear at row1 and column 1 but it doesn't. To see it, it must be moved to row 2 (!) Had to read the datasheet for the interpretation of the sprite attribute list again, just a small bug(ette) From the TMS9918 datasheet, page 2-26: "The first byte indicates the vertical distance of the sprite from the top of the screen, in pixels. It is defined sucht that a value of -1 puts the sprite butted up at the top of the screen, touching the backdrop area. The second byte describes the horizontal displacement of the sprite from the left edge of the display. A value of 0 butts the sprite against the left edge of the backdrop". This means that: The Y value is from -1 to 255 The X value is from 0 to 256 I have to add +1 to the Y value in my emulator. 1 Quote Link to comment Share on other sites More sharing options...
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.