Posts tagged ‘pascal’

KansasFest 2010 HackFest

My KansasFest 2010 HackFest entry with source code is now available for your enjoyment.  This entry took second place behind Martin’s Wizardy crack.  I used Complete Pascal 2.0 with Pegasoft Draw Tools 3.1, both of which are freely available, to create my first 16-bit Apple II program.  The program displays pictures from KansasFest and asks related trivia questions.

The photographs are used with permission from Henry Courbis of Reactive Micro.  I converted the original JPEG images to GIF files on a modern Macbook then used Super Convert on a IIgs to produce packed SHR image files.

I hope some budding programmer will find the software to be a useful starting place for the next brilliant Apple II software!

Hackfest Day 2

There are just so many fabulous things to see and do at KansasFest that Hackfest has not gotten much attention!  Where else do you get to see the worst Apple product and a disk operating system almost twice as fast as ProDOS?

I want to include full-screen bitmapped images in my entry, and I’m figuring out how to load and display images.  The toolbox does not offer a convenient “load image from file” call so I must provide code to load, parse, and decompress the image file.  I found a CSA2 post with sample code and the Pegasoft Draw Tools package.  Draw Tools provides numerous handy drawing tools, including fades, wipes, animation, and image loading.  So, I’ve installed Draw Tools and have the sample code working.  The TML Pascal samples work well with Complete Pascal since Complete Pascal is really version 2 of TML Pascal.  Work continues …

Hackfest Day 1

The annual KansasFest HackFest is on!  I’ve heard rumors of Wizardy cracking and a Rockhurst text adventure.  I’m learning Complete Pascal, learning IIGS toolbox programming, and, just in case I run out of things to do, using those skills to write a graphical Apple II/KFest trivia adventure.  I have Complete Pascal running and am ready to crank out a bit of code.  Stay tuned for more …