Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> GameBoy games
Unspecified
zzo38
Posted: Aug 21 2009, 07:49 PM
Quote Post


Registered user


Group Icon
Group: Members
Posts: 1621
Member No.: 2549
Joined: 21-August 06

Status: (0d) [--]


I might post a GameBoy game some day later, because now I wrote a program in Gforth to compile into GameBoy ROM files.

Here's a example program (I just wrote it to test if it was working correctly):
CODE
\ This file is an example program to compile into a GameBoy file.
\ Push buttons to show blocks on screen.

-HEADER-
  S" GameForth Test" -TITLE-

-BODY-
  -NAME- ASCII.DAT S" ASCII.DAT" -INCLUDE128MONO-

-MAIN-
  -INIT1-
  ASCII.DAT -LOAD128MONO-
  -BEGIN-
    -VBLANK-
    -BKEYS- .JOYPAD. -#@-
    $0F -AND#- $0F -XOR#- .BGMAP0. -#!-
    -DKEYS- .JOYPAD. -#@-
    $0F -AND#- $0F -XOR#- .BGMAP0. 1+ -#!-
  -BACK-

-FINISHED-


Please note: These programs will not run on real GameBoy, to make it run on real GameBoy you need to correct the ROM headers (the Nintendo logo and the header checksum) after compiling.


This post has been edited by zzo38 on Aug 21 2009, 07:55 PM


--------------------
Access my web-site
Vonkeror: the new web-browser
Wikipedia user-page
My gopher site Forget Web 2.0. Now is the time for Gopher 2.0.
Furryscript!!

Member of Anti-Master-Balls

Message to the moderator: I don't want you to add the badges under my name anymore.
PMUsers Website
Top
United States
GeneralGuy
Posted: Aug 21 2009, 07:51 PM
Quote Post


ShyGuy Leader
[*][*]

Group Icon
Group: Members
Posts: 11192
Member No.: 2505
Joined: 15-August 06

Status: (0d) [--]


Sounds rather interesting.


--------------------
user posted image
PMEmail Poster
Top
United States
SuperMarioMaster
Posted: Aug 21 2009, 07:53 PM
Quote Post


It's been real
[*]

Group Icon
Group: Members
Posts: 2145
Member No.: 4476
Joined: 22-September 07

Status: (0d) [--]


That's awesome


--------------------
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0394 ]   [ 14 queries used ]   [ GZIP Enabled ]   [ Server Load: 0.36 ]