Game Boy Coding, anyone ?
Re:Game Boy Coding, anyone ?
Of couse the P4, Opteron etc can run the old 8086 DOS apps anyway (not counting timing problems).
Re:Game Boy Coding, anyone ?
I've read the first chapter, and it looks good! I'll read it when I have some more time...hckr83 wrote: A full, publishing quality ebook on programming the gameboyadvance
it is very, very good im at chapter 4 and have made my own little fill screen and other not so useful things
and heres the best part, its FREE!
http://www.jharbour.com/gameboy/default.aspx
it actually was going to be a good book and then legal problems hit so instead he made it an ebook
-Stephen
Re:Game Boy Coding, anyone ?
YEAH!!! I`ve found it once, but the computer locked up before I could put it in my favorites!
Re:Game Boy Coding, anyone ?
I have just got a GP2x, if you do not know what these are here is some info : http://www.gbax.com/
Basically they are a handheld like the DS or PSP, have 2 ARM9 chips ( similar to the DS), but the best is they are open source, even have linux as standard, come with video player, music player, loads od games and emulators including nes, snes, GBA, mame, and BOCHS.
Even got my OS running in BOCHS on .
As they use the same chip as the DS, any thing learnt on GP2x will help DS programmers, so i will post anything interesting info, as i also have GBA and DS.
Some images:
http://dex.7.forumer.com/viewtopic.php?p=1821#1821
Basically they are a handheld like the DS or PSP, have 2 ARM9 chips ( similar to the DS), but the best is they are open source, even have linux as standard, come with video player, music player, loads od games and emulators including nes, snes, GBA, mame, and BOCHS.
Even got my OS running in BOCHS on .
As they use the same chip as the DS, any thing learnt on GP2x will help DS programmers, so i will post anything interesting info, as i also have GBA and DS.
Some images:
http://dex.7.forumer.com/viewtopic.php?p=1821#1821
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Game Boy Coding, anyone ?
http://tobw.net/dswiki/index.php?title= ... _for_Linux
http://forum.gbadev.org/viewtopic.php?p=70140#70140
http://masscat.afraid.org/ninds/wifi_apps.php
a wiki about nDS programming ... a step-by-step guide to run your own binaries using wifi-download, even from Linux ... neat. i feel like i'm going to do ds-deving after all ...
http://forum.gbadev.org/viewtopic.php?p=70140#70140
http://masscat.afraid.org/ninds/wifi_apps.php
a wiki about nDS programming ... a step-by-step guide to run your own binaries using wifi-download, even from Linux ... neat. i feel like i'm going to do ds-deving after all ...
Re:Game Boy Coding, anyone ?
Thanks for the link .
Theres a handheld part to Dex4u's forum with some good links etc.
http://jas2o.forthworks.com/dexforum/in ... ?board=6.0
Most of the info is by jas2o.
Theres a handheld part to Dex4u's forum with some good links etc.
http://jas2o.forthworks.com/dexforum/in ... ?board=6.0
Most of the info is by jas2o.
Re:Game Boy Coding, anyone ?
On the web site for The Wotch: My Sister, Myself (a fan-written game for the webcomic The Wotch, officially endorsed by the series authors but not a Nintendo-authorized product) there is a "Quick GBA Programming Intro" which might be of interest.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Game Boy Coding, anyone ?
thanks. I'll have a look... i'm still confused with those "passme" things etc. so if i can find a place to chat with someone a bit more "seasoned" in DS-deving, it'll be great.Dex wrote: Thanks for the link .
Theres a handheld part to Dex4u's forum with some good links etc.
http://jas2o.forthworks.com/dexforum/in ... ?board=6.0
Most of the info is by jas2o.
Re:Game Boy Coding, anyone ?
I'm in the DSDev scene ATM, I understand what the majority of the hardware is and what software you need to get started. I'm in #dsdev on EFNet most of the time.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Game Boy Coding, anyone ?
Popping again. I now have the extra hardware to run homebrew. Super card and passcard 3. All i need to run my sprite-* software on it. That feels great to write code that works and that i can show to people (ever tried to show a round-robin scheduler or a module loader to your relatives, anyone )
For those who are interested, there are a few posts about it on my blog, some of them are even translated in english ... For those who wrote DS code, check out my blog marks (see my signature) to check what resources i've found so far ...
Oh, and i managed to write data to the SD flash card yesterday. Very exciting ! ... Almost as much as the time i first managed to use paging on x86 ;D
For those who are interested, there are a few posts about it on my blog, some of them are even translated in english ... For those who wrote DS code, check out my blog marks (see my signature) to check what resources i've found so far ...
Oh, and i managed to write data to the SD flash card yesterday. Very exciting ! ... Almost as much as the time i first managed to use paging on x86 ;D
Last edited by Pype.Clicker on Tue Aug 13, 2019 5:57 am, edited 1 time in total.
Re:Game Boy Coding, anyone ?
Yes. Seems to reduce my obligation with relatives to visit them, so it's pretty usefulPype.Clicker wrote: That feels great to write code that works and that i can show to people (ever tried to show a round-robin scheduler or a module loader to your relatives, anyone )
Re:Game Boy Coding, anyone ?
That so cool i just had to log in and congratulate you on your great work .
I am trying to learn ARM assembly and use a untested ARM assembler, so i am sticking to learning it on GBA, which is more programmer friendly and has more info.
But to code in asm for the, ds and gp2x is my goal.
I am trying to learn ARM assembly and use a untested ARM assembler, so i am sticking to learning it on GBA, which is more programmer friendly and has more info.
But to code in asm for the, ds and gp2x is my goal.
Re:Game Boy Coding, anyone ?
Good work, we all need those little rewards (seeing some results) from time to time..
Re:Game Boy Coding, anyone ?
Here is a simple GBA demo, code with fasmarm.
I am porting Dex4u OS, to ARM with fasmarm .
http://www.dex4u.com/images/gbademo.jpg
Code: Select all
; GBA Header and test prog by Dex, Coded with FasmARM.
; c:\fasmarm test.asm test.gba
format binary
org 0 ; code starts at offset 0.
use32 ; use 32-bit code.
b rom_start
NintendoLogo:
db 0,0,0,0,0,0,0,0,0,0 ; Nintendo Logo space(156 bytes).
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0
GameTitle:
db "TEAM DEX4U " ; Game Title (12 bytes).
GameCode:
db "1234" ; Game Code (4 bytes).
MakerCode:
db "_$" ; Maker Code (2 bytes).
FixedValue:
db 0x96 ; Fixed value (1 byte).
MainUnit:
db 0 ; Main unit code (1 byte).
DeviceType:
db 0 ; Device Type (1 byte).
ReservedBytes:
db 0,0,0,0,0,0,0 ; Reserved (7 bytes)
SoftwareVersion:
db 0 ; Software version (1 byte).
ComplementCheck:
db 0 ; Complement check (1 byte).
Reserved2:
db 0,0 ; Reserved (2 bytes).
align 4
;********************************;
; Rom start. ;
;********************************;
rom_start:
mov r0, 0x4000000
mov r1, 0x400
add r1, r1, 3
str r1, [r0]
mov r0, 0x6000000
mov r1, 0xff
mov r2, 0x9600
loop1:
strh r1, [r0], 2
subs r2, r2, 1
bne loop1
LetsLoop:
b LetsLoop
times 20000- ($-0) db 0
http://www.dex4u.com/images/gbademo.jpg