07 January 2010, 21:10 | #1 |
Banned
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
|
ROM-able KingCON for 68000
OK, I'm on a quest here
On Aminet there's KingCON_1.3 and a patch for it. With RemAPollo comes an updated version 1.6 that is ROM-able, and the very same Mikolaj Calusinski also updated it further to 1.8 that comes with AmiKit. The problem for me is that the above updates, including the ROM-able bit, only applies to the 020 version of KingCON, and not the 68000 version. Another problem ofcourse, is that the sources for the changes is not available, Mikolaj decided to leave amiga, and did so quite thoroughly from what I understand. Is there anyone out there with the knowledge, tools and interest to make a ROM-able variant of 68000 KingCON? I dont know what's easiest, disassemble the 1.8 binary and replace 020 instructions with 68000 ones, or disassemble the 1.3 binary and make it ROM-able. All I know is that my MiniMig craves for a kickstart file with KingCON-handler in it |
08 January 2010, 00:10 | #2 |
Hamster tamer
Join Date: Apr 2007
Location: Out in the woods
Posts: 122
|
IIRC, neither 1.6 nor 1.8 are 'ROMable'.
Spot reported problems with a ROM he built, and it turned out 1.8 was the cause of the problems. (UAE got stuck in a lovely crash-reboot-crash-reboot-crash..) I did a simple wrapper that copied it into memory and initialised it from there, and the problems went away. As for the other question, IMHO it'd be better to make a 68000 version of 1.8, as MC also fixed a few bugs as he went along. |
08 January 2010, 01:00 | #3 |
Banned
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
|
I use 1.8 with e-UAE, and at least it loads as a kickstart module using LoadModule. I assumed that also means it's RAM-able? The image below shows first CLI after boot without startup-sequence, with LoadModule listing out loaded modules.
|
08 January 2010, 01:52 | #4 |
Hamster tamer
Join Date: Apr 2007
Location: Out in the woods
Posts: 122
|
But as you said, LoadModule puts the code/data in memory, so it's writeable.
In a real ROM it isn't, so any code that tries to save data inside itself will fail at some point. Things like library bases from an OpenLibrary() call are normally the culprit, as the code then tries to call a function with 0 as the lib base.. |
08 January 2010, 05:00 | #5 |
Banned
Join Date: Jan 2007
Location: France
Posts: 655
|
>is that the sources for the changes is not available, Mikolaj decided to leave amiga
Maybe he have the sources somewhere on a HD Ask him... ... and pray ! |
08 January 2010, 05:01 | #6 |
Banned
Join Date: Jan 2007
Location: France
Posts: 655
|
Hum...
Pray... ... and ask him ! |
08 January 2010, 05:02 | #7 |
Banned
Join Date: Jan 2007
Location: France
Posts: 655
|
No, no, we are on Amiga...
So : Pray... Ask him... and pray again... |
08 January 2010, 05:04 | #8 |
Banned
Join Date: Jan 2007
Location: France
Posts: 655
|
... and light a LOT of candles in a church...
|
08 January 2010, 15:12 | #9 | |
Banned
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
|
Quote:
Do you still have the wrapper around? |
|
08 January 2010, 17:07 | #10 |
Banned
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
|
He is unreachable, and does not wish to be contacted about amiga related things, from what I understood. So I assume the solution is disassembling of KingCON 1.8 is the way to go for this... unfortunatly that's way out of my league
|
14 January 2010, 02:42 | #11 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
Doobrey could you share your KingCon 1.8 rom wrapper. I am in the process of building a new custom kickstart for my A1200, and that could be a great addition!
|
14 January 2010, 16:50 | #12 |
Banned
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
|
Yeah, let me add to that...
|
14 January 2010, 20:09 | #13 |
Hamster tamer
Join Date: Apr 2007
Location: Out in the woods
Posts: 122
|
Sorry about the delay in sorting this out, took me a while to remember where abouts I'd saved the damn thing ! (too many HD's, not enough brains)
http://www.doobreynet.co.uk/temp/KingConROM_1.8.pch It's patched against KingCon 1.8. Nothing has changed compared to the normal 1.8(020+), it's just wrapped in a bit of code that'll load it into memory,relocate it and init it. Any probs, gimme a shout. Last edited by Doobrey; 14 January 2010 at 21:35. |
14 January 2010, 20:21 | #14 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
The link points to:
BAH.. Dunno what you wanted to see, but it's not here ! So that brings me to the question: Where is it? |
14 January 2010, 21:34 | #15 |
Hamster tamer
Join Date: Apr 2007
Location: Out in the woods
Posts: 122
|
I knew I should have stayed in bed today..
Link fixed. |
14 January 2010, 21:52 | #16 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
Okay, now it works
Thanks Doobrey If i find any bugs i will report them! |
15 January 2010, 08:18 | #17 |
Banned
Join Date: Jan 2007
Location: France
Posts: 655
|
Tested with WinUAE :
Work with AGA no DOpus 5.82 but Not work with RTG + DOpus 5.82 |
16 January 2010, 19:50 | #18 |
Hamster tamer
Join Date: Apr 2007
Location: Out in the woods
Posts: 122
|
|
18 January 2010, 09:22 | #19 |
Banned
Join Date: Jan 2007
Location: France
Posts: 655
|
>Does the same problem with DOpus5 happen if you just make the unpatched KingCon resident with LoadModule
Yes |
18 January 2010, 19:46 | #20 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
It is working for me! AGA and RTG, i havent tested with Magellan though!
The only really small anoyance is that the appicon is outdated. There are resident programs that hack appicons, but is there a way to actually replace the appicon itself, in the executable? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Built-in AROS ROM crashes on 68000 | mark_k | support.WinUAE | 3 | 17 July 2012 12:02 |
Crash with custom ROM on 68000 | UAE | support.WinUAE | 5 | 10 July 2012 09:04 |
intuition, kingcon in dopus4/os39 and screenborders | hardwir3d | project.ClassicWB | 10 | 16 May 2008 12:00 |
How to make bash behave like KingCON shell? | rsn8887 | support.Other | 3 | 31 July 2007 03:04 |
quitting on 68000? | Hungry Horace | project.WHDLoad | 60 | 19 December 2006 20:17 |
|
|