Jump to content



0

A Minimal Test Games


3 replies to this topic

#1 Wookie OFFLINE  

Wookie

    Chopper Commander

  • 167 posts
  • Location:Seattle, WA

Posted Sun Oct 24, 2010 2:33 PM

So I'm nearing completion of my HLAKit compiler and I was wondering if any of you had ideas/code for an extremely minimal test game.

I was thinking of code that shows a single sprite on the screen and then goes into an endless loop that does nothing. I'll use the best idea/code as the example game in the HLAKit source tree.

The HLAKit compiler is a re-implementation of the NESHLA compiler in Python and architected to be easily extended to support multiple CPUs and Platforms. The initial 1.0 release supports just the Lynx. 1.1 will support the NES as well.

I have added the Lynx encryption code into the compiler so that it will automatically encrypt loader code for you. No more reliance on Harry's encrypted loader and file system. The example game I have written so far uses my microloader that initializes a few things then loads and unencrypted secondary loader into RAM and runs it. That gets you past the decryption phase cleanly and in a minimal amount of time.

What I need now is some code that the secondary loader will load to 0x0200 in RAM and execute it by jmp'ing to 0x0200. That code needs to do something to signal that everything worked like show a sprite or play a tone.

If the code needs data, like a sprite, the data needs to be statically defined as a byte array in the code. This is because I want to limit what the code does.

I'll take C code or assembly. With C, I'll translate it into HLA code for the HLAKit compiler.

--Wookie

#2 sage OFFLINE  

sage

    Moonsweeper

  • 391 posts
  • Location:Germany

Posted Thu Oct 28, 2010 8:38 AM

If you still need one, send me an email.

#3 Ninjabba OFFLINE  

Ninjabba

    Moonsweeper

  • 424 posts
  • Location:Lurking in the Darkness

Posted Thu Oct 28, 2010 11:57 AM

I got plenty of sprites and C code here.. If you want, I can maybe fix a nice logo?

#4 Wookie OFFLINE  

Wookie

    Chopper Commander

  • 167 posts
  • Location:Seattle, WA

Posted Wed Nov 10, 2010 3:06 PM

View PostNinjabba, on Thu Oct 28, 2010 11:57 AM, said:

I got plenty of sprites and C code here.. If you want, I can maybe fix a nice logo?

A logo would be great!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users