Files, files, files...
$Id: files.html 1.20 2002/09/19 17:54:28 Detlef Exp $
 -HP38G-  -Logo-  -HP48-
On this page you will find downloadable programs (mainly games -- some written by myself :-) for the HP 49G, the HP 48 , HP 39G/40G and the HP 38G (including progress information) plus the one or other tool I wrote in C. Enjoy.
Navigation
HOME PICT'S
NEW LINKS
HP 38G Memory Upgrade

Files for the HP 49G
Screenshot Description
 -Tetris 2- Tetris2 v2.7 (28k)

This is Tetris2, a very nice Tetris game for the HP 49G.
Some features:
  • small size (<7kb), though a very good size/performance ratio
  • HP 49G ROM revision independency
  • very close to the original TETRIS gameplay
  • configuration of the gameplay + three game modes
  • 2-Player games via serial I/O
Note: the archive contains binaries for all HP graphing calculators.
 -SokoBan-

SokoBan v2.1 (10k)

This is a prerelease of SokoBan 2.1 containing only the library for the HP 49G and the updated documentation. As soon I'll find some time, I'll set up the final SokoBan 2.1 distribution including the '48 and '38G binaries and the source code. Please stay tuned.

Note: it includes 50 levels...

ATTN: If you downloaded this version before the 99/09/02, reload it ! This is an updated versin fixing an 48/38G incompatibility (see below) ! It's still possible that there're more of this type -- I suggest to backup your 49G (ig. into the flash) before using SokoBan. :-(

 -HapaMan- HapaMan49 (6k)

HapaMan is a PacMan clone originally written by Davor Jadrijevic back in '90 for the HP 48SX.

IMVHO one of the best action games for the Saturn ever !
 -Phoenix-

Phoenix49 (7k)

This is the famous Phoenix for the '48G, originally written by Davor Jadrijevic back in '90 for the HP 48SX.

Give it a try, it's very impressive. Remeber, if U're 2 slow, it's 2 fast 4U ! ;-)

- ATTN -

Various information for the curious:

I'm planning to port most of the games found in the '48 section to the '49G -- as soon I'll find some sparetime, please be patient...

ATTN: Bad bug w/ libraries stored in Port 1:

If you've ROM version C#1.05, C#1.10 or C#1-13, you must not store any complex library (one that includes a user IF, eg. the games found here or the EQL) into P1 ! There's a bug in the memory management that will cause at least random warmstarts while using the library. I'd strongly recommend to store libraries into P0 or P2 instead.

ATTN: note on SokoBan v2.1 update:

The 49Gs sRPL entry SUBGROB behaives different from the one found in the 48 or 38G :-( If the subgrob origin coordinates passed to SUBGROB aren't w/in the grob, a null grob is returned on the 48 or 38G -- the 49G will crash in this case... SokoBan makes use of that behaivior, so it needed to be changed for the 49G -- sorry for the inconvinence.

ATTN sRPL programmer:

In the ROM versions C#1.05 and C#1.10, RECLAIMDISP will not reset ABUFF to its default size -- and the HP 49G OS can't handle an ABUFF > 131*64, most InForms and all choose boxes will be garbeled 'til the next warmstart ! If you want to use ABUFF as display in your application and need to expand it (w/ HEIGHTENGROB or XYGROBDISP), you'll need this routine (1k). Extract the file into your source directory and add the line

        INCLUDE ShrinkV.s
just after your final RECLAIMDISP. This will reset ABUFF back to 131*64.

[To the top]

Files for the HP 39G and 40G
Screenshot Description
 -Tetris 2- Tetris2 v2.7 (28k)

This is Tetris2, a very nice Tetris game for the HP 39G/40G.
Features include:
  • small size (<7.5kb), though a very good size/performance ratio
  • very close to the original TETRIS gameplay
  • configuration of the gameplay + three game modes
  • 2-Player games via serial I/O (IR or wire)
  • HP 39G owner can play against HP48 owner
Note: the archive contains binaries for all HP graphing calculators.
 -New !-
 -ApLet-

ApLet frame 1.4 (69k)

This archive contains all you need to program the '39/40G at sRPL/Assembler level except the HP Tools.

Besides all neccessary ApLet components (like hard-/softkeyhandler, entry/exit code, display handler), the frame also contains the code to maintain a storage for permanent internal variables of any type -- you can easily extend the mechanics to match your needs (eg. highscores, setups et c.)

If you're planning to program the '39/40G at system level, you should also take a look at Jean-Yves Avenards HP 38G Page. Also it's a good idea to checkx out the HP 48 FAQ, chapter 8.4 for information sources about sRPL and Saturn assembler !

[To the top]

Files for the HP 48
Screenshot Description
 -Tetris 2- Tetris2 v2.7 (28k)

This is Tetris2, a very nice Tetris game for the HP 48.
Some features:
  • small size (<6.5kb), though a very good size/performance ratio
  • HP48 type and ROM revision independency
  • very close to the original TETRIS gameplay
  • configuration of the gameplay + three game modes
  • 2-Player games via serial I/O (IR or wire)
  • Runs well on Emu48 (sp 8+)
Note: the archive contains binaries for all HP graphing calculators.
 -Tetris-

Tetris v1.51 (13k)

This is the "classic" Tetris, it's one of my very early programs (sort of "Tetris for the poor" ;-). I've included it here mainly for all of you looking for sRPL examples, it comes w/ source (compilable using HP's DOS tools).
Some features:

  • only ~3.5k in size
  • Initial/pause screen
  • original score algorithm/sound
  • high score list

 -3D TTT-

3D TicTacToe v3.1 (5k)

This is 3D TicTacToe written by Raymond Hellstern. Well, I just played it, you'll see the result at the right hand...
Some features:

  • ~4.5k in size
  • real 4*4*4 TicTacToe
  • autosave/restore game, auto replay
  • HP48 type and ROM revision independency

 -SokoBan-

SokoBan v2.0 (46k)

This is the final release of SokoBan, superseeding all previous releases. SokoBan is another widely spread game in which you will have to solve puzzles of increasing complexity. It is bundled with the HP 38G port and its source !. Note: it includes 50 levels...

If you've played SOKOBAN before, I'd suggest to re-play the levels 15, 16, 20, 29, 48, 49 and 50 of this version... :-)

 -HapaMan-
 -Phoenix-

Phoenix & HapaMan (12k)

This are the games Phoenix and HapaMan, originally written by Davor Jadrijevic for the HP 48SX. These versions are slightly modified, both games will run on any HP 48 ROM revision and are starting w/ featuring 4 lives instead of 3.

 -RPL48-

RPL48 v3.0 (248k)

This is the RPL48 v3.0 kit -- it's an sys-RPL/assembler development system that runs on any HP 48 SX or GX (ROM rev A-R) calculator with at least one addtional 32k RAM card installed in port 1. Besides the binaries, the archive also contains RPL48's source !

RPL48 bases on two libraries: <-RPL-> v5.1 and <-LIB-> v2.3:

<-RPL-> is ~28k in size, it contains an sys-RPL compiler/decompiler, an Saturn assembler/disassembler, an entries browser, an character set catalog and an sys-RPL 5/7 level stack environment.

<-LIB-> is ~8k in size, it contains an library maker, an library splitter, many commands to handle libraries, and many commands to handle 'unsupported' objects.

- NA -

D->LIB v1.0 (13k)

This is a library creator that runs on the HP 48 itself. I've unlinked this version from an earlier version of <-LIB->. It comes with source (compilable using HP's DOS Tools) and it maybe even usefull for some of you (the binary is only ~2.5k). It's just a 'living' example of sRPL that will give you an idea of how libraries are organized.

- NA -

STOFIX v1.1 (5k)

This is the STOFIX library, version 1.1. It provides a workaround for the STO and PINIT bug described in STOFIX.DOC on ROM L & M HP48GX's. If you have a ROM rev L or M '48GX, you'll need STOFIX in case you have installed RAM cards in ports 1 & 2 for doing the following tasks to avoid memory losts/corruption:

  • to store a library or backup into a port > 1, use STOFIX' sto
  • to store other objects into a port > 1, use STOFIX' sto
  • to initialize a multi port card, use STOFIX' pinit

[To the top]

Files for the HP 38G
Screenshot Description
 -ApLet-

ApLet frame 1.4 (41k)

This archive contains all you need to program the '38G at sRPL/Assembler level except the HP Tools. I used the predecessor of this frame for the '38G versions of SokoBan, Tetris 2 and (in a more simple form) all the other games below.

This version has the below mentioned bug according the [XTTheta] key fixed !

Besides all neccessary ApLet components (like hard-/softkeyhandler, entry/exit code, display handler), the frame also contains the code to maintain a storage for permanent internal variables of any type -- you can easily extend the mechanics to match your needs (eg. highscores, setups et c.)

If you're planning to program the '38G at system level, you should also take a look at Jean-Yves Avenards HP 38G Page. Also it's a good idea to check out the HP 48 FAQ, chapter 8.4 for information sources about sRPL and Saturn assembler !

 -HapaMan38-

HapaMan38 v1.1 (5k)

Did you ever notice that your '38G has a beeper ? This program proves it very well ;-). HapaMan is a PacMan clone written by Davor Jadrijevic back in '90 for the HP 48SX. You'll find some information about the game in its NOTES screen.

For some more information, please also read the Progress information section below.

Note: this program currently won't run on a 64k upgraded '38G !

 -Phoenix38-

Phoenix38 v1.1 (7k)

This is the famous Phoenix for the '38G, originally written by Davor Jadrijevic back in '90 for the HP 48SX. You'll find some information about the game in its NOTES screen.

Give it a try, it's very impressive. Remeber, if U're 2 slow, it's 2 fast 4U ! ;-)

Note: this program currently won't run on a 64k upgraded '38G !

 -Diamonds38- Diamonds38 v1.1 (11k)

Here it is, the 1st full release of the game Diamonds38, written and maintained by Douglas R. Cannon.

This version contains 50 levels ! And, ... here's the SOURCE (32k) !
 -SokoBan-

SokoBan v2.0 (46k)

This is the final release of SokoBan, superseeding all previous releases. SokoBan is another widely spread game in which you will have to solve puzzles of increasing complexity. It is bundled with the HP 48 port and its source !. Note: it includes 50 levels...

 -Tetris 2- Tetris2 v2.7 (28k)

This is Tetris2, a very nice Tetris game for the HP38G.
Features include:
  • small size (<7.5kb), though a very good size/performance ratio
  • very close to the original TETRIS gameplay
  • configuration of the gameplay + three game modes
  • 2-Player games via serial I/O (IR or wire)
  • HP 38G owner can play against HP48 owner
Note: the archive contains binaries for all HP graphing calculators.
- ATTN -

Various information for the curious:

Note that due to the incorrect [PLOT] View handling the earlier ApLet frame I've used for all the games above has at least one known bug: after using it, you should deselect the ApLet in the [LIB] View, else pressing the [XTTheta] key in the [HOME] View will cause unpredictable results. This may include loss of memory ! If you encounter this situation, you should immediately execute a warmstart by pressing ON-SK3 simultanousely (SK3 is the 3rd softkey from the left). Also note that this will clear the HOME view.

With the ApLet Frame v1.3 and up the [XTTheta] problem is fixed. I'll incorporate the Frame changes into any upcomming update of the ApLets found on this page.

The version change from 1.0 to 1.1 in the '36G games above was caused by a slight problem introduced by using Jean-Yves Avenard's ApLet-frame. Upon exiting the LIB view, the complete stack was droped -- this was caused by the sequence "DEPTH NDROP" in the exit secondary. In v1.1 this is changed to "DropJunk". Only possible left-overs are droped w/ this call.

I've ported Diamonds, HapaMan and Phoenix to that frame, you'll find them above as v1.1 non-beta releases. The games are tested for some time but they may still contain bugs, backing up your '38G before running them might be a good idea. Currently there's no support for configuring the games and they still don't track the hiscore; maybe I'll find the time somewhen this year or so (if ever...): Also the games starter are somewhat rought, but working well.


Cèdric sent me some mail, suggesting the following workaround to delete the 0.1 versions of HapaMan/Diamonds (I didn't check it myself, so use the information at your own risk !):

For the problems on your games (where you can't clear them), I have found a little trick to clear them without use the "memory clear" which clear everythings: you saturate the memory and the HP 38 propose you to clear somethings: Hapaman can be cleared. I have made a little programm who allow to have directly this situation:

SYSEVAL(535863):
Ans\|>A:(A-100)/8\|>B:
INT(\v/B)\|>B:
REDIM M1;{B,B}:
(A/8)-B\178\|>C:
CEILING(\v/C)\|>C:
REDIM M2;{C+5,C}:

[To the top]

Supporting tools
Name Description
CAP2BMP v1.3 (10k)

This is a program to convert screenshots done by a HP 49G/48/38G by pressing ON-1 into a BMP file. I used it to create the shots you can find on this page. The archive contains the C source along w/ a DOS binary.
Note that a HP 49G or 38G will always dump to the serial port, on a HP 48 you'll have to set flag -34 (Printing Device = serial).

[To the top]

Key Resource
Links2Go
HP

Copyright © 1996-2002 by Detlef Müller, Detlef.M[at]hamburg.de, Germany