Search found 1445 matches

by CunningFellow
Sun Jan 26, 2014 11:36 pm
Forum: Programming & Software
Topic: Collision and Vram
Replies: 28
Views: 15423

Re: Collision and Vram

Bizare Looks like X is the higher order of the index. Thats not what the document you linked to says. I have never used the tile modes myself, but I can't imagine the documentation could be so wrong. Please try uint8_t i; for(i=0; i<100; i=i+8) { VRAM[(i>>3)*VRAM_TILES_V + (i>>3)] = TestTile; // Cha...
by CunningFellow
Sun Jan 26, 2014 10:01 pm
Forum: Programming & Software
Topic: Collision and Vram
Replies: 28
Views: 15423

Re: Collision and Vram

OK, As a problem solving exersize please try this (TestTile is what ever number tile you want to use a ball, a brick. 1/4 or mario) Here I am assuming that you are in video mode 3 where tiles are 8x8. In OTHER video modes that are not 8x8 the number "8" and the ">>3" are not corr...
by CunningFellow
Sun Jan 26, 2014 10:57 am
Forum: Programming & Software
Topic: Collision and Vram
Replies: 28
Views: 15423

Re: Collision and Vram

Nicksen, VRAM is an array that says what tile is at each location. Think of it as a text mode with 256 colour tiles replacing the ASCII character. For example if you wanted to put the text "hello, world!" in the top left corner of a text mode you would put VRAM[0][0] = 'h'; VRAM[0][1] = 'e...
by CunningFellow
Fri Jan 17, 2014 3:00 am
Forum: Games & Demos
Topic: Tempest is possible
Replies: 704
Views: 329362

Re: Tempest is possible

I have wasted a lot of time with QT recently, so please tell if you want help with gui. I recently made a firmware updater in qt, that uploads firmware to atmega328 processor via a ethernet bootloader i have hacked together ;P I went to my fathers house yesterday to get real internet access. I down...
by CunningFellow
Wed Jan 15, 2014 8:29 pm
Forum: Games & Demos
Topic: Tempest is possible
Replies: 704
Views: 329362

Re: Tempest is possible

Thanks, 30 or 40 reads I can do in scanline -1. I will read up on the SD specs myself to work out if I need to do block_stop. If it does not have any long time requirements I should be able to do that and re-send a block_read command in scanline 225 I have just been too lazy as yet to make my physic...
by CunningFellow
Wed Jan 15, 2014 3:23 am
Forum: Games & Demos
Topic: Tempest is possible
Replies: 704
Views: 329362

Re: Tempest is possible

I have to start a "Read Multiple" command each frame. If it actually requires 250 dummy reads then I will have to waste the first 8 video rows just to get this done. If however it just needs so many micro seconds to get ready, then I can que the read at the end of the frame, and then it sh...
by CunningFellow
Wed Jan 15, 2014 2:49 am
Forum: Programming & Software
Topic: Three new video modes
Replies: 35
Views: 15937

Re: Three new video modes

uze6666 wrote:Interesting modes! How's the colors gonna work with the 2bbp modes? One global 4 color palette?
Yes, same as Tempest mode. The 4 colours are held in 4 registers (R20, R21, R22, R1 in Tempest case).

They are global, but you could change them once per scanline if you where keen.
by CunningFellow
Wed Jan 15, 2014 2:47 am
Forum: Games & Demos
Topic: Tempest is possible
Replies: 704
Views: 329362

Re: Tempest is possible

Uze, Is it a time thing (so you have 250x read periods of time) or do you actually need to do the dummy reads?
by CunningFellow
Tue Jan 14, 2014 7:02 am
Forum: Programming & Software
Topic: Three new video modes
Replies: 35
Views: 15937

Re: Three new video modes

I have done the maths on a spreadsheet to make sure they are possible. They all will use a code table (Like Tempest does) but because of more free cycles I can pack the code table tighter. The "flash saving" I am talking about is relative to Tempest. All three of these modes will use more ...
by CunningFellow
Tue Jan 14, 2014 5:57 am
Forum: Games & Demos
Topic: Tempest is possible
Replies: 704
Views: 329362

Re: Tempest is possible

Uze,

You've said previously that if you wait a bit you can always get two bytes between sectors 0xFF and 0xFE.

Is this also true of the first read of a multi-sector-read (command 18)