#34570 - microlith - Fri Jan 21, 2005 7:57 pm
Well, I got my VS6 problems solved and can now generate binaries problem free.
The problem now lies in my binaries, as they simply don't work. I'm missing something and don't know what.
http://www.side-7.us/misc/test.cpp
The code above works for the most part. It copies palette data and sprite data into their appropriate memory spaces without trouble.
The OAM entries, however, are not getting set and/or copied properly. Despite my settings in the attribute fields I get a blank screen (in both emulators and on actual hardware) and VisualBoyAdvance's OAM viewer shows an alternating mishmash of 256 and 16 color entries, all 8x8.
My objective first is to simply get 4 red sprites to display in a row, simply getting sprites to display short of copying the tutorials out there one-for-one seems impossible.
Am I missing something really obvious or missing the mark by a lot.
Specs:
GCC version 3.0.2 DevKit Advance
Visual Studio 6
Pern Project Headers
VisualBoyAdvance 1.7.1
EZF Advance cart + USB Link Cable
GBA SP with custom paint job.
The problem now lies in my binaries, as they simply don't work. I'm missing something and don't know what.
http://www.side-7.us/misc/test.cpp
The code above works for the most part. It copies palette data and sprite data into their appropriate memory spaces without trouble.
The OAM entries, however, are not getting set and/or copied properly. Despite my settings in the attribute fields I get a blank screen (in both emulators and on actual hardware) and VisualBoyAdvance's OAM viewer shows an alternating mishmash of 256 and 16 color entries, all 8x8.
My objective first is to simply get 4 red sprites to display in a row, simply getting sprites to display short of copying the tutorials out there one-for-one seems impossible.
Am I missing something really obvious or missing the mark by a lot.
Specs:
GCC version 3.0.2 DevKit Advance
Visual Studio 6
Pern Project Headers
VisualBoyAdvance 1.7.1
EZF Advance cart + USB Link Cable
GBA SP with custom paint job.