Showing posts with label 68k. Show all posts
Showing posts with label 68k. Show all posts

Wednesday, July 29, 2009

Grackle68k v0.0.3ß

I'm off to London in the morning, so the Retrochallenge has come to a close for me. I did manage to get System 7.6 on my 3400c, w/ wifi, although I can't get Appletalk to work via the wavelan card.

I hoped to get more done with Grackle, but I didn't. Here's a version with the authentication bug fixed...
grackle68k_v0.0.3b.sit

Thursday, July 24, 2008

robotfindskitten 1.0.1

It might seem odd that you could write this game without implementing the arrow keys. Well I did, and it is. 1.0.1 now supports arrow keys!

rfk-mac68k-1.0.1.hqx
rfk-mac68k-1.0.1.img

Tuesday, July 22, 2008

robotfindskitten 1.0

Whew...

robotfindskitten-mac68k-1.0.hqx

robotfindskitten-mac68k-1.0.img

The disk image is a bootable 6.0.8 floppy suitable for vMac or BasilliskII.

Mostly I'm happy with it. The source code is included, but you can see the meat of it here if you just want to take a quick look.

There are a few issues. If anyone cares, I can fix them. No one will.

It's pretty fun. The 68k Macs can stand tall once again.

Monday, July 21, 2008

Robotfindskitten Update

Done
  1. Movement
  2. NKI Placement
  3. Random Characters
  4. Collision Detection
  5. Kitten Detection
To Do
  1. Import messages.
  2. Display messages.
  3. Win screen.
  4. Introduction screen.
  5. Color detection / colorize characters.
  6. Macintosh niceties: icon, 'about', anything else?
  7. Whatever else I'm forgetting.

Robotfindskitten Detour

It's not done, but I'm very excited about the progress I've made on my newest classic mac development project.

I first found robotfindskitten on my ipod Rockbox install. The game is almost too good to be true. Since then I've discovered that rfk has been ported to many systems, but not the classic Mac. Look at all those retro-systems represented and no 68k Mac.

Obviously all other projects go on hold.

What's interesting about this project to me is, the Macintosh doesn't lend itself to character-based programming as easily as DOS, C64, AppleII (etc) systems do, so I'm having to do a fair amount of extra work to get an ascii game working nicely.

What I've got done... so far I have a good engine (fingers crossed) for dynamically creating a grid based on screen resolution and character widths. A full screen window; leaving the menu bar.

TO DO:

  1. Random placement of non-kitten items.
  2. Robot movement and collision detection.
  3. Import messages.
  4. Win screen.
  5. Introduction screen.
  6. Macintosh niceties: icon, 'about', anything else?
  7. Whatever else I'm forgetting.

Sunday, July 20, 2008

MacTCP Programming

I spent several days fighting with MacTCP. I'm working on a full screen app that uses google weather to display current conditions and future conditions. Ultimately I'd like to create an internet "reader" that uses different XML APIs to gather and display info on the compact mac. I don't know how into it I am, but the Google weather will happen. Anyway, I spent many hours banging my head against the wall as I was fighting a not-always-reproducible-bug that was caused by a buffer overflow, incorrect LAN setup and prickly HTTP headers.

That's all sorted out, but I was hopping to at this point to have some simple XML parsing taken care of.

Also, I can't seem to take a screen shot of the full screen app when it's running. I'd like to show what I have. It's not very macintosh application "looking", and I've decided that style is just as important as function, so I'm not sure anyone else is going to ever want to use it. I guess you could say I'm giving into all of my design impulses which doesn't help any one else.

Wednesday, July 9, 2008

68k Greets App

The Overview

Well, it took several days longer that I expected, but I've finished my RetroChallenge "Greets" app. I've tested it on System 6 & 9. All the app does is display a list of participants and let you see the equipment they reported they would use in the challenge.

RetroChallenge-2008.hqx

The Hiccup

The worst thing is when one's code builds and runs fine within the development environment, but when you compile the application and run it on it's own: shit hits the fan.

I know what kinds of things cause this behavior, but that doesn't mean it's easy to track down. In this case it was an un-initialized Cell type passed to LGetSelect(). I just don't understand why it worked in the first place within Think Pascal.

TextToSTR#

This was an interesting find (found at Merlin's Cavern)... It's an application that takes a tab delimited file and creates a STR# of each row of data for each row in the text file. I thought this would be very useful, but it was only moderately useful as it truncates the data even shorter than the limits of an STR# string.

On the upside, it comes with Think Pascal and CodeWarrior sources so one can modify it for their needs. Anyway, I can see it being very useful, and I post it here with a thumbs up...

texttostr.hqx [2]

Thoughts

What I have now is the basic structure of a simply useful user-interface. This model, a list and window, can fit many needs for simple applications. While by no means revolutionary, it does scream very "Macintosh".

With a grasp of LDEFs, I think I'll revisit my MPD client and add playlist functionality.

Let me know if you run it. Especially if you have any problems or catch a bug. Thanks.

Thursday, July 3, 2008

Mac Plus Goes Under the Iron

In order to leave no suspense, let me say that so far it's not working. You can follow the story here.

Photos here:
http://www.retards.org/projects/retrochallenge/2008/Gallery/index.html

Hopefully Mr. Lee will have an idea, but for now I think I'll spend the next few days in the secure comfort of pascal as I'm in over my head with analog circuits.

Tuesday, July 1, 2008

Stock Mac Plus Temperature and Power Readings



Before I modify my Mac Plus, I wanted to get some baseline readings from the machine so that I would have something to compare the modified Mac against. Here are the results.

Power

This was pretty easy. A watt meter showed an average of 31 Watts (.44 amps) spiking up to 34W and .46 amps when accessing the floppy drive.

Over 2 hours (non-idle, but no disk access) the power stayed at 31 Watts until the very last reading at which it rose to 32 Watts.

Turning down the screen brightness had very little impact. At full brightness my Plus used .44 amps, and at full darkness it used .42 amps.

Temperature Test

4 digital thermometers were used to monitor the Mac Plus. None were inside the mac. None were the same brand. An indoor thermometer sat near the Mac Plus, monitoring the ambient temperature of the room. The second thermometer sat on top of the mac, but it doesn't have a probe, just holes on the top meant to read indoor room temperature. I used this one to also get an idea of the temperature around the Mac. Third was a digital cooking thermometer with the probe laid across the vents on top of the Plus. Last, another cooking probe was inserted under the Mac (between case and desk).

Is this the best setup I could have used? Obviously better sensors could have been used... A thermometer inside the Mac would give a more accurate reading... But that's not all... Air-conditioning was starting and stopping during the test, and an oscillating fan was running.

I decided to go forward with the used method for a few reasons. One, and most important, it's what I could do, but in addition, I wanted to measure the success of the modification, and to me that meant results good enough to be detectable in a real world environment. If the modification's results aren't detectable with the used method, then it's not a successful modification in my mind.

Temperature Results

Included with this post is a graph of the temperature results. The graph was created with Cricket Graph (1987) on a Mac SE running System 6.0.5. The PICT image was converted to a PNG using Graphic Converter 3.8.1 on an iMac using System 9.

The results show a 13 - 20 degree (F) increase in temperature over 2 hours. The Mac Plus was running a simple screen-saver during the test.

Thoughts

With the baseline tests done, I can move forward with the modification. I would really like to see significant results in power usage and temperature. Fingers crossed.

I might see if I can get the next graph published without using the iMac, Graphic Converter 3.8.1, or System 9; all of which are newer than 10 years old. Maybe I will, maybe I won't.