Jump to content

Zach

Members
  • Content Count

    2,097
  • Joined

  • Last visited

Posts posted by Zach


  1. What is Blip Football?

    I don't have any inside information, but the title suggests something similar to the old LED football game from Mattel. (Although, judging by the label, Blip Football may be more colorful.)

     

    Until Al gives us details, all I can offer is speculation.


  2. A colleague of mine at work has postulated that E.T. would have been better received if the level with no humans but Elliot had been the default. I only played this level as a kid and loved it. Got good at the other levels later in life. :)


  3. You could use the TIA mirror of VBLANK at $41, which would give you more usable Y values. I'm not sure if that's enough, though.

    That's a good point, but it still limits the possible values of Y.

     

    FWIW, I did test the SHX version of my kernel on a 4 switch system, and it looks good so far. I used the instruction SHX $FFC7,Y when Y=3A and X=06, and it did indeed clear VBLANK. Since bit 1 of X is 1, the bitwise AND with (FF+1) must have worked, even though the page boundary was crossed.

     

    Maybe we would get different results on different systems. I guess SHX is not thoroughly understood, and it'll be safer to use PHP. Besides I haven't found anything useful to do with the 2 cycles I save in my kernel. (SHX takes 5 cycles, PHP takes 7 when you account for resetting the SP.)


  4. "Tetris in Batari Basic would be cool."

    Yes, I know. If only we could get someone who knows way more about the innards of bB than I do to work on such a thing...

    How about the game programmed in straight assembly? I wouldn't use the trademarked title, though.

  5. Hi Darrell,

     

    Sorry for taking so long to respond. When I described using the PF for masking, I meant something like this, only the PF would be black instead of white, and would have priority over of the sprite.

    post-2163-1164779494_thumb.png

    I'm not sure if it's feasible to actually code this. If it's not, I'd say that no mask is better than a mask on the same side that Scarlett comes from.


  6. More research indicates that apparently SHA, SHS, SHX and SHY sometimes don't get anded with PCH+1, and if the index crosses a page boundary, it isn't handled properly. Those problems aren't necessarily fatal.

    Thanks Fred, unless Y is 0 or 1, I would have to cross a page boundary to reach VBLANK. So it seems that I should not use SHX for this purpose. No problem, I'll just use PHP.


  7. I’ve been working on a kernel where I want to clear bit 2 of VBLANK, but A, X, and Y are all being used for other purposes. I figured out a couple ways to accomplish this, use PHP and make sure the last value loaded was non-zero, or use SHX VBLANK - #OFFSET, Y.

     

    Both approaches have pros and cons. What I’m wondering is whether it is a good idea to use SHX? Searching the forums for the SHX, I found that supercat had some ideas for using it (actually similar to the use I am describing). On the other hand, Thomas mentioned that $9E is unstable, and sure enough, that opcode is SHX.

     

    Any thoughts?


  8. Astounding animation! :-o :thumbsup:

    Spiceware, any chance you can make the sprites come in from the edge of the screen instead of just appearing whole? Maybe you could place black playfield blocks on other other side, to cover wrap-around.

×
×
  • Create New...