Amiga.org

Amiga computer related discussion => General chat about Amiga topics => Topic started by: DamageX on January 25, 2006, 08:02:01 AM

Title: my first Amiga program
Post by: DamageX 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:
Title: Re: my first Amiga program
Post by: DamageX 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
Title: Re: my first Amiga program
Post by: InTheSand on February 08, 2006, 11:12:30 AM
Hi,

What sort of format is the HV file?

 - Ali
Title: Re: my first Amiga program
Post by: DamageX 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.
Title: Re: my first Amiga program
Post by: justthatgood on February 09, 2006, 05:30:04 AM
Wow, you are actually working on stuff, and I'm selfishly working on a game.
Title: Re: my first Amiga program
Post by: chris on February 09, 2006, 03:11:07 PM
Quote

DamageX wrote:
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.


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

The CD32 could cope with that in HAM8.  It was only 3/4 screen size though.

Chris
Title: Re: my first Amiga program
Post by: DamageX 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.
Title: Re: my first Amiga program
Post by: Oli_hd on February 10, 2006, 09:51:50 AM
Quote
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.


It was actually for the CDTV (4096 colours, single speed CD-Rom, 68000, etc) and was upgraded for the CD32's AGA chipset and snazzy double speed CD-Rom.

It doesnt have to run off a CD-Rom though but I know my CDTV couldnt cope with a 320X240 HAM video, it got 1FPS from the harddrive.(Or maybe it just didnt like Britney)
Title: Re: my first Amiga program
Post by: nasty on February 10, 2006, 12:28:33 PM
Quote
Or maybe it just didnt like Britney


Think thats the real reason it didnt work :-)
Title: Re: my first Amiga program
Post by: justthatgood on February 10, 2006, 12:35:47 PM
@DamageX

By working I mean design, visual implementation, sound engineering, and coding. I love Deluxe Paint IV.  I'm also probably taking the punk way out right now because I really don't have much time to dive into every inscrutability detail of 680x0 programming.  Yes I'm prototyping in a way using BlitzBasic.  There I said it.

Well since I got that package a lot time ago, I'm trying to make some use of it. Really I've been spending most of my time looking for jobs and other more important things. Later after I see how my stuff all lays out, then i'm going to fire up SAS and start my torture up. But at least my code will be real code.