YakYak

Llamasoft baanter and moosings - It's like Deliverance with Sheep
It is currently Fri Oct 15, 2021 12:27 am 0

All times are UTC [ DST ]




Post new topic Reply to topic  [ 331 posts ]  Go to page Previous  1 ... 17, 18, 19, 20, 21, 22, 23  Next
Author Message
PostPosted: Mon Jan 06, 2014 8:19 am 0 
Offline
Baaaaa!
Baaaaa!
User avatar

Joined: Thu May 04, 2006 10:38 pm 0
Posts: 1750
Location: Amsterdam
Bogdan wrote:
Is that the paint program that you seem the ATD guys using in those 1989 Konix videos?
Pretty neat stuff I must say!


It doesn't look the same, so I presume it pre-dates the Konix one. If I remember correctly I think we do have the Konix paint program and it does already work in the emulator (It's been a while since I looked into it).

_________________
I know nothing about Konix.


Top
 Profile  
 
PostPosted: Fri Jan 16, 2015 2:10 pm 0 
Offline
Baaaaa!
Baaaaa!
User avatar

Joined: Thu May 04, 2006 10:38 pm 0
Posts: 1750
Location: Amsterdam
*cough*

Last Ninja 2 for Konix

*cough*

Image
Image
Image
Image

_________________
I know nothing about Konix.


Top
 Profile  
 
PostPosted: Fri Jan 16, 2015 10:57 pm 0 
Offline
Baaaaa!
Baaaaa!
User avatar

Joined: Sun Jan 25, 2009 3:53 pm 0
Posts: 1535
Hurry up, get it working lad! :D

_________________
Fuck the shareholders


Top
 Profile  
 
PostPosted: Sat Jan 17, 2015 4:57 am 0 
Offline
Baaaaa!
Baaaaa!

Joined: Tue Feb 18, 2003 2:15 am 0
Posts: 1131
Wow!
This is so awesome to see! It's been far too quiet on the Konix front these past few months.

Hope you can get it working!


Top
 Profile  
 
PostPosted: Sat Jan 17, 2015 1:42 pm 0 
Offline
Baaaaa!
Baaaaa!
User avatar

Joined: Thu May 04, 2006 10:38 pm 0
Posts: 1750
Location: Amsterdam
VERY early days yet, the contents of the disks haven't been read yet so we don't know where we stand.

Then, there's the emulation to worry about, some disks contain source code (presumably on PC formatted disks) and I understand there are Konix formatted disks containing the compiled game.

IF anything comes off the disks, then it may just work right away, or it could be hours of pain for Lee to get it running under emulation.

Add to this that we probably realistically won't be able to release this to the public as there's a strong chance that System 3 will want to protect their IP, it may be that we just release videos of it running. We need to see if we have anything other than drinks coasters first.

I'm totally fascinated to see how it compares to the versions on other platforms, and I can't wait to hear Dave Lowe's music in Konix form to see if that sounded any better than the ST and Amiga versions.

_________________
I know nothing about Konix.


Top
 Profile  
 
PostPosted: Sat Jan 17, 2015 6:30 pm 0 
Offline
Sheepie Whore
Sheepie Whore
User avatar

Joined: Wed Feb 16, 2005 1:44 pm 0
Posts: 10385
Location: Skegness, England
Wow! Amazing find! Love that this is still going on.

_________________
Twitter, Xbox, Wii U and Steam - merman1974


Top
 Profile  
 
PostPosted: Sat Jan 17, 2015 9:00 pm 0 
Offline
Baaaaa!
Baaaaa!
User avatar

Joined: Sun Jan 25, 2009 3:53 pm 0
Posts: 1535
Mqark wrote:
VERY early days yet, the contents of the disks haven't been read yet so we don't know where we stand.

Then, there's the emulation to worry about, some disks contain source code (presumably on PC formatted disks) and I understand there are Konix formatted disks containing the compiled game.

IF anything comes off the disks, then it may just work right away, or it could be hours of pain for Lee to get it running under emulation.

Add to this that we probably realistically won't be able to release this to the public as there's a strong chance that System 3 will want to protect their IP, it may be that we just release videos of it running. We need to see if we have anything other than drinks coasters first.

I'm totally fascinated to see how it compares to the versions on other platforms, and I can't wait to hear Dave Lowe's music in Konix form to see if that sounded any better than the ST and Amiga versions.


Can't see that being a problem given it's age and that it's already downloadable all over the place for other formats, they recently gave permission for the completion and download of the until recently unfinished "Putty Squad" for the Amiga.

_________________
Fuck the shareholders


Top
 Profile  
 
PostPosted: Sun Jan 18, 2015 5:39 pm 0 
Offline
Baaaaa!
Baaaaa!
User avatar

Joined: Thu May 04, 2006 10:38 pm 0
Posts: 1750
Location: Amsterdam
Good point, but it's not my place to assume that I can freely give away somebody else's property without their permission.

System 3 won't make money from physical sales of this version of the game, but there's nothing to say they couldn't make a few bob from a version bundled with a game specific emulator. I'm assuming it's a very limited amount of money though...

It won't (shouldn't ?) do any harm to have the respect for the copyright holder to allow them to decide if they are happy with it being released.

I'm not keen on doing anything that will get me sued - but I am keen for people to see what this version of the game was like.

_________________
I know nothing about Konix.


Top
 Profile  
 
PostPosted: Thu Jan 29, 2015 1:06 pm 0 
Offline
Baaaaa!
Baaaaa!
User avatar

Joined: Thu May 04, 2006 10:38 pm 0
Posts: 1750
Location: Amsterdam
I'm very pleased to announce some fantastic progress by Lee. He'll be along soon to explain how he got to this stage (it wasn't a simple walk in central park), but for now, just take a look at this:

Image

Needless to say, it's pretty darn exciting!

We're just sharing a screen grab of the output of the emulator running at the moment, there's still some work to do as this code is built against a slightly different implementation of the system than the ones we knew already and as such, at the moment, without some further work, it doesn't really get any further than the loading screen and playing some pretty mangled music - but it's very promising!

_________________
I know nothing about Konix.


Top
 Profile  
 
PostPosted: Thu Jan 29, 2015 1:18 pm 0 
Offline
Sheepie Whore
Sheepie Whore
User avatar

Joined: Mon Mar 10, 2003 1:00 am 0
Posts: 12143
Location: Here
Cool beans - Good work chaps.

_________________
[Sir_LANs-a-lot]

Meat is murder.
Tasty, tasty murder.


Top
 Profile  
 
PostPosted: Thu Jan 29, 2015 2:31 pm 0 
Offline

Joined: Thu Jan 10, 2013 8:40 am 0
Posts: 7
Location: Newark, Uk
Greetings,

I thought I'd break the habit of a lifetime and give a little bit of information on the latest emulation work.

So, first up a tiny little confession.. I've actually had the disk that's now under emulation for as long as I have had the Attack of the Mutant Camels Konix Source. The disk was labelled LN2 Konix EXE, so I had a suspicion what it was, however at the time I had no real way to dig into its contents -- unlike the other floppies which were PC formatted, this was somewhat different. My first attempts at getting data off it involved using an amiga 1200 and an MFM reader.. Unfortunately no matter which way I looked at the data, I couldn't make sense of it.

Fast forward to January last year, and I received some additional floppies (the ones used to reconstruct the Flare One boot disk). In order to read those, I ended up purchasing a KyroFlux http://www.kryoflux.com/, and at that time I made a complete Flux dump of the "mystery" disk in the hopes of shedding some light on it. After all, at this stage all I knew was what the label told me, it could have been unformatted :

Image

The infomation I had at the time, was that a Konix Floppy would store its save games on Track 0, and the rest of the disk would be used for program code (1 sector per track). The first track on the image was definately empty (although not unformatted :

Image

Since the first track was for save data, this isn't surprising.. although it meant i had no clue where the boot block might have lived.... My suspicion was track 1 (however side 0 looked empty), side 1 however :

Image

At the time it felt like the disk could well be konix format, but Flare One work and real life got in the way.

Fast forward to earlier this month and the discovery of possibly another real konix floppy disk, I decided to take another look at that mystery floppy. Now as luck would have it, along with the Flare One stuff I received, I also had a folder called BOOTROM - which looked very much like it might be the Konix BIOS intended for the production system. It took a couple of days, mostly because it turned out the hardware was different between the 8088 and the 8086 version, but I had it running under emulation (and it helped find a bug in the blitter hardware):

Image

At this point, I was confident that if I could decode the disk data, there was a good chance it would boot.

The problem of course was that I still hadn't been able to decode a sector from the disk. Data on a floppy disk is stored as a stream of bits (simplified view - its actually a series of magnetic flux reversals), the problem all floppy controllers have is given a stream of bits moving under the head -- how do you know where the start of the sector is?

There are a few encoding schemes for doing this - MFM being the most common on 3.5 inch media. Documentation I had also seemed to confirm MFM. MFM essentially encodes a byte as a word (2 bytes) of data with the clock interleaved into it. The clever bit is that this encoding means certain words can't occur in a stream of real of data -- The amiga used 0x4489 IIRC to mark the start of a sector. This means the controller can simply watch the stream of bits until 0x4489 appears and then know its correctly aligned to the sector start.

It turns out in the case of the Konix, the disk controller was simplified significantly, in fact the way the start of a sector is found, is by using the index pulse that the drive generates once at the start of a revolution of the disk. And more importantly it turns out that the sync start point was actually defined by a normal data byte (not MFM encoded word). Thanks to the fact that the konix has 2 checksum bytes at the end of every sector and the knowledge gleamed from the bios on the probable sector length - I finally managed to dump some bytes from the boot block yesterday, and confirm they were executable code. So last night I dumped the full disk image and after fixing a subtle bug in the floppy emulation, was surprised by LN2 loading!

The BIOS also revealed that track 0 was re-purposed as some form of security (copy protection) -- where save games are supposed to go is a mystery at this time, the protect scheme makes use of the DSP, and at present fails - so i have a patch in the BIOS to ignore it for the time being.

Apologies for the wall of text.

TLDR; I did some archaeology and made something cool :)


Top
 Profile  
 
PostPosted: Thu Jan 29, 2015 2:46 pm 0 
Offline
Baaaaaaa!
Baaaaaaa!
User avatar

Joined: Sun Mar 19, 2006 12:54 pm 0
Posts: 5327
Location: Salford(UK);
Reverse engineering an undocumented custom disk format would be the high point of any career. Well done.

_________________
"The eggs, get them!"


Top
 Profile  
 
PostPosted: Thu Jan 29, 2015 2:55 pm 0 
Offline
Sheepie Whore
Sheepie Whore
User avatar

Joined: Mon Apr 29, 2002 3:06 pm 0
Posts: 12482
Location: Londonish
Great work so far :)

The Kryoflux system is pretty nifty, isn't it? I've got one and been archiving some rare/hard to find C64 disks with it gradually...

_________________
Lie with passion and be forever damned...

Xbox: Mayhem64


Top
 Profile  
 
PostPosted: Thu Jan 29, 2015 3:13 pm 0 
Offline

Joined: Thu Jan 10, 2013 8:40 am 0
Posts: 7
Location: Newark, Uk
Baggypants wrote:
Reverse engineering an undocumented custom disk format would be the high point of any career. Well done.


call me crazy, but I always thought the highlight of my career would be creating a programming language specifically for emulating things. :)


Top
 Profile  
 
PostPosted: Thu Jan 29, 2015 3:14 pm 0 
Offline

Joined: Thu Jan 10, 2013 8:40 am 0
Posts: 7
Location: Newark, Uk
Mayhem wrote:
Great work so far :)

The Kryoflux system is pretty nifty, isn't it? I've got one and been archiving some rare/hard to find C64 disks with it gradually...


Yeah it's a life saver, and the fact the stream disk format is easy to parse is another :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 331 posts ]  Go to page Previous  1 ... 17, 18, 19, 20, 21, 22, 23  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: k345y


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group