Jump to content
IGNORED

Compiled source of Handy Development Kit


LX.NET

Recommended Posts

Hi everyone,

 

Having acquired an original Handy Development Kit, I spent some serious time investigating and getting acquainted with the original development tooling. I managed to compile the original examples (which was easy enough) and got the .bin converted to .rom, then to .lnx files with encryption added. That was a slightly different route than D Scott Williamson took (as reported in his post http://atariage.com/forums/topic/212245-new-old-lynx-technology-demos-with-source-and-tools/), since I wanted to create rom images that you could put on a real EEPROM and run in the Lynx (either with a Flashcart or by burning a ROM, although strictly speaking you can run .o files on Lynxman's Flashcart with his latest firmware update).

 

The examples were originally intended to be run on the Pinky/Mandy combination. I will manage to do that in about 3 weeks, when I get the Amiga 2000 prepped. The .bin images that the asm assembler tool creates has a "weird" format that cannot be run directly in Handy. So, I took the boot/title screen from the digidemo sample and put it on all the samples, except for the testcart sample, that has its own simple boot screen. Then ran the bin file through the HandyROM utility with custom made .hsf files. Finally added the encrypted header after having changed the boot screen to run at $2400. Some source files needed to be changed, because they would initialize zeropage memory (in the "weird way").

 

The boot screen is a simple blue screen, so nothing fancy there. I compiled the files as 256KB images to make it trivial to add the encrypted header (not the microloader by wookie, but the hacked Epyx loader). Check them out. Here's a short description of each of the files:

  • Digidemo: experiment with around 5 digitized samples. You might recognize the Klax samples.
  • Mandel: Mandelbrot fractal generator that is also in Chip's Challenge (type MAND as the level code)
  • Testaudio: plays a simple sound effect.
  • Testcart: Loads four different files from the cart and displays the short text that is in them. Demonstration of the cartridge file system
  • Testcontrols: Will crash as it does a HBRK (0x13) that is used in Howard boards to invoke a hard break. Included for completeness.
  • Testhmusic: Plays 4 great tunes (sink2, summer, roadrace and liberty). You really need to listen to this, preferably on a real Lynx.
  • Testhprint: Demonstration of text printing using the HPRINT macros.
  • Testredeye: Shows how to do a logon screen where players can connect in a lobby (like in the retail games, where the lobby is usually the start screen). After that is completed, you can fly little planes across the screen. See pictures.
  • Testsprite2: Some sprite capabilities.
  • Song_sfxall: Made this from one of the music demos. Listen to this! Cool stuff for 1989.

post-27403-0-15024600-1390855861_thumb.jpgpost-27403-0-19445400-1390855878_thumb.jpg

The pictures show the testredeye logon screen and the planes (the red and green blurs).

 

Let me know what you think. I never saw these roms, so I thought it would be a nice release. Also, speak up if anyone is interested in the fixed sources and compile instructions.

handydevkitsamples.zip

Edited by LX.NET
  • Like 3
Link to comment
Share on other sites

Thanks. I will do more writeups on all I have learned and what is all in there. I am also releasing some of the documents that are in there, in scanned and OCR'ed text. The Pinky/Mandy is really cool equipment. I have plans to get it to work with a regular PC instead of an Amiga. Will be near impossible, but at least fun to investigate.

There was also some other really, really interesting stuff on the backup disks that were included. Stay tuned. ;)

Link to comment
Share on other sites

  • 1 month later...

Okay, here are the remaining three sample programs.

  1. mult32: 32 bit times 32 bit multiplication
  2. multiply: 16 bit multiplication
  3. divide: 16 bit division

These were a bit thougher to get going on a normal Lynx (not Mandy), as they have a different start address from the load address. The normal loaders assume they are the same, which is true in most (current) cases. The Handy dev kit, especially the Mandebug program did allow for them to be different and still load and run the program fragments.

post-27403-0-49060300-1394003687_thumb.jpg

Enjoy.

handydevkitmathsamples.zip

Edited by LX.NET
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...