How to create a ROM file?

Страница 4/4
1 | 2 | 3 |

By Parn

Paladin (833)

Аватар пользователя Parn

26-01-2019, 13:09

thegeps wrote:

yep, I've just attempted in another way to see where's the problem and saw that RAM is still there (I filled first 704 bytes with 0 and my draw routine copy exactly them in nametable)

If your cartridge can't be seen in neither page 1 and page 2 then it probably failed to be recognised. Perhaps there's something wrong with the header? Maybe you need headers in both pages?

By thegeps

Paragon (1174)

Аватар пользователя thegeps

26-01-2019, 13:09

never used a debug. I don't know even from where start...

By thegeps

Paragon (1174)

Аватар пользователя thegeps

26-01-2019, 13:14

page 1 works fine, there's the code and it's doing, less or more, what I expect. I'm fixing it by steps, adding and removing calls to CHGET at the start of every piece. Data in page 1 are read and written right, there's the tileset and it had been copied rightly on VRAM. In page 2 there's only the tilemap, starting with uncompressed first screen

By Grauw

Ascended (10706)

Аватар пользователя Grauw

26-01-2019, 13:21

引用:

Have I do something particular for read data in page 2?

Yes, you have to select the slot of page 1 into page 2. Umm, I recently posted about it but can’t find it. Anyway, you can determine the slot of page 1 with the GETSL10 routine that’s found here. Or alternatively, here. And then call ENASLT for page 2 with the slot ID that you’ve determined.

By thegeps

Paragon (1174)

Аватар пользователя thegeps

26-01-2019, 13:43

LOL! sorry guys. when I was using Chaos Assembler and I couldn't create a rom file, I attempted to see what were not working. So I decided first to try a 16K rom, and I disabled enaslot by putting ; before the call. And I forgot to delete this ;
I'm a donkey LOL!

I copied and pasted getsl10 till I decided to do a rom file (grauw you posted these links in my vertical scrolling routine thread, thx again for your help)

Страница 4/4
1 | 2 | 3 |