When i compile with SGDK & code blocks, this return me error when without %
To say the truth, i don't know how to configure the assembler so it was more easier for me to add the % symbol
Search found 173 matches
- Wed Feb 06, 2013 10:53 pm
- Forum: SGDK
- Topic: Sega Genesis Dev Kit (SGDK)
- Replies: 852
- Views: 1162838
- Wed Feb 06, 2013 10:30 pm
- Forum: SGDK
- Topic: Sega Genesis Dev Kit (SGDK)
- Replies: 852
- Views: 1162838
It seems there's an error in sram_a.s file file is SRAM_readWord: move.l 4(%sp),d1 add.l %d1,%d1 lea 0x200001,%a0 lea (%a0,%d1.l),%a0 moveq #0,%d0 movep.w 0(%a0),%d0 rts think it should be SRAM_readWord: move.l 4(%sp),%d1<--------------------% is forgotten add.l %d1,%d1 lea 0x200001,%a0 lea (%a0,%d1...
- Thu Jan 31, 2013 4:53 pm
- Forum: SGDK
- Topic: Using a map
- Replies: 16
- Views: 10313
- Tue Jan 29, 2013 2:14 pm
- Forum: SGDK
- Topic: Using a map
- Replies: 16
- Views: 10313
- Tue Jan 29, 2013 1:54 pm
- Forum: SGDK
- Topic: Using a map
- Replies: 16
- Views: 10313
Ok i see. My map is declared as : * --------------------------- .global level1_map level1_map: * --------------------------- * size:47520 bytes dc.w 0x0000 dc.w 0x0000 dc.w 0x0000 dc.w 0x0000 dc.w 0x0000 dc.w 0x0000 dc.w 0x0000 dc.w 0x0000 dc.w 0x0000 dc.w 0x0000 dc.w 0x0000 dc.w 0x0000 dc.w 0x0000 ...
- Tue Jan 29, 2013 12:49 pm
- Forum: SGDK
- Topic: Using a map
- Replies: 16
- Views: 10313
- Tue Jan 29, 2013 12:30 pm
- Forum: SGDK
- Topic: Using a map
- Replies: 16
- Views: 10313
Hi, I'm now able to use a map correctly as you can see here However, map is just 320*1728 pxls. I've tried to test with a big map (792*1920pxl) and the problem is i can't compile project anymore: -------------- Build: default in Miracle_World_MD --------------- Using makefile: C:\SGDK\makefile.gen l...
- Wed Jan 23, 2013 5:47 pm
- Forum: SGDK
- Topic: Using a map
- Replies: 16
- Views: 10313
- Tue Jan 22, 2013 9:20 pm
- Forum: SGDK
- Topic: Using a map
- Replies: 16
- Views: 10313
- Tue Jan 22, 2013 8:53 pm
- Forum: SGDK
- Topic: Using a map
- Replies: 16
- Views: 10313
Using a map
I'm trying to use a map generated by genitile. I'm using two map. One for drawing foreground of level, the second for object to collect (ex gold pieces) I'm able to read the map so i can draw my foreground. Then, able too to place my gold pieces using the second map. But while taking a gold piece, i...
- Mon Jan 14, 2013 4:50 pm
- Forum: SGDK
- Topic: Sega Genesis Dev Kit (SGDK)
- Replies: 852
- Views: 1162838
- Mon Jan 14, 2013 4:48 pm
- Forum: SGDK
- Topic: Showing special charactes with SGDK
- Replies: 3
- Views: 3225
- Sat Dec 22, 2012 4:33 pm
- Forum: Megadrive/Genesis
- Topic: using a map created by MDPPY
- Replies: 12
- Views: 6728
It's working! I don't know why but it's working. I've tried and tried again, and finally it's working: for (i=0; i<=45; i++) //affichage de notre niveau visible { k++; l=0; for(j=0; j<=30; j++) { VDP_setTileMap(APLAN, TILE_ATTR(1,0,0,0)+(level1_map[i+j*160]+1), k, l); l++; } } Many thanks djcouchyco...
- Sat Dec 22, 2012 3:15 pm
- Forum: Megadrive/Genesis
- Topic: using a map created by MDPPY
- Replies: 12
- Views: 6728
Thanks moon watcher, i will have a look at this :) Djcouchycouch, for (i=0; i<=45; i++) { for(j=0; j<=30; j++) { VDP_setTileMap(APLAN, TILE_ATTR(1,0,0,0) + 1), i, j); } } doesn't work at all, an argument is missing :| Sure my map is 160*30. I'm not using MDPPY++ anymore. I'm drawing my map in 16 col...
- Sat Dec 22, 2012 1:37 pm
- Forum: Megadrive/Genesis
- Topic: using a map created by MDPPY
- Replies: 12
- Views: 6728