Welcome, Guest. Please login or register.

Author Topic: my first Amiga program  (Read 2824 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline DamageXTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show all replies
    • http://www.hyakushiki.net/
my first Amiga program
« on: January 25, 2006, 08:02:01 AM »
If you have some free harddisk space on your Amiga and can bear the long download, grab one of these archives (I think my server is pretty fast):

http://www.hyakushiki.net/junk/koi8.lzh (27MB)
http://www.hyakushiki.net/junk/koi15.lzh (52MB)

I've made a small program that plays back some FMV with audio (about 2 minutes long). The first (smaller) file runs at 7.5fps and my A2000 can just barely keep up when using the plain 68000. The second file runs at 15fps and can be played on my A2000 with the 28MHz 68030 enabled.

I'm new to Amiga programming so watch out for glitches  :crazy:
 

Offline DamageXTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show all replies
    • http://www.hyakushiki.net/
Re: my first Amiga program
« Reply #1 on: February 08, 2006, 07:54:44 AM »
Here is an updated executable:
http://www.hyakushiki.net/junk/hamnew.lzh
It performs better than the old one and is necessary to play different sized videos.

Two more videos:
http://www.hyakushiki.net/junk/shiki.lzh (38MB, 10fps)
http://www.hyakushiki.net/junk/zopen.lzh (32MB, 12fps)

The video has to renamed to shiki.hv now, since I haven't learned how to make the hamnew program accept arguments from the command line :p

Here is a minimal MS-DOS program for converting an AVI to my HV file:
http://www.hyakushiki.net/junk/avi2hv.zip
 

Offline DamageXTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show all replies
    • http://www.hyakushiki.net/
Re: my first Amiga program
« Reply #2 on: February 09, 2006, 04:58:45 AM »
There's a 14 byte header and then it's just a series of HAM screens (40 bytes x 6 bitplanes x number of lines), each followed by one or two chunks of audio.

I thought about trying to do some realtime decompression of video. I think it's not going to happen on an '030 though, using HAM... Better to just copy directly from harddisk to chipmem.
 

Offline DamageXTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show all replies
    • http://www.hyakushiki.net/
Re: my first Amiga program
« Reply #3 on: February 10, 2006, 05:40:13 AM »
Quote
Wow, you are actually working on stuff, and I'm selfishly working on a game.

I don't get it, you're working on a game? Or does "working" on a game mean playing?

Quote
That's pretty cool but, erm, you do realise you've pretty much reinvented an uncompressed version of CDXL, don't you?

Well, i've only implemented something, not (re)invented. I don't know what CDXL is but I'm guessing it's video that played off of CD? The speed of the CD32's drive surely would have been a limitation without some kind of compression.