|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/24 17:15
#61 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2009/10/7 0:11 Posts: 986
|
@hotrod
Haha, thank you very much ![]() So who am I? Short version: I'm just another geek with too much spare time. ![]() Long version: I'm a retired symphonic violinist, who now spends most of his time in front of his beloved Amiga. If you are into music, you should check out my quartet: http://www.cphjazzquartet.dk (It's me in the back with the beard.) Since the single most important resource for computer development is the developers time, and since I have lots of time to spare, I have been moderately successful in my attempts up until now. Qt was hard to do, though, the source code is so vast, that it is not meant to be a single mans job. Napalm is a lot more fun to do, since I get to play around with m68k assembler (GREAT fun!) and look under the hood of one of the greatest amiga games ever. I hope this answers your question ![]() |
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/24 18:02
#62 |
---|---|---|
Just popping in
![]() ![]() Joined:
2010/1/22 20:03 From VIGO SPAIN
Posts: 248
|
Hey, I write this whit your "Blue Rondo" in the speakers ( I prefer the old NICE version, whit Keith Emerson, but sounds good), great job in QT, I'm waiting to see your work in Napalm, it's a great game. |
|
_________________
SAM FLEX /800 / OS4.1.6 OS4.1 FE And Lubuntu 10.04 for SAM ![]() 1200 towered with Blizzard PPC - BVision and Mediator And a new fantastic Chameleon64 ![]() |
||
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/24 18:48
#63 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2009/10/7 0:11 Posts: 986
|
News: Working on keyboard input, it uses keyboard.device, and it seems, that this device does not work at all with USB keyboards. Is this true??
|
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/25 8:31
#64 |
---|---|---|
Amigans Defender
![]() ![]() Joined:
2006/11/17 22:40 From England
Posts: 2862
|
It's a low-level driver. The USB driver just sticks keypresses into the input event stream so bypasses keyboard.device completely.
You'll need to grab the events at a higher level - since you're now using Intuition windows that should be trivial. |
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/25 10:22
#65 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2009/10/7 0:11 Posts: 986
|
@chris
Hmm. Yeah, that's what I suspected. It is not so simple, though, since Napalm doesn't really do event handling the usual way. It just reads whatever lowlevel data is available at any given time. Also, it uses the READMATRIX function in the keyboard devive, and there doesn't seem to be an equivalent in any higher level devices. Also part of the problem is, that it reads the CIAA_SDR register directly for part of the keyboard input. I have searched the RKM hardware manual, but I can't find a proper description of how this data is put together. The only alternative I have now is to search the scattered remains in the IRA output and try to figure out what a given number does in terms of keymap code... |
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/25 18:22
#66 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2007/1/5 10:14 Posts: 252
|
@alkfil
just THX! for trying to get Napalm to work m8 :) |
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/25 21:08
#67 |
---|---|---|
Amigans Defender
![]() ![]() Joined:
2006/11/17 22:40 From England
Posts: 2862
|
Are the keyboard functions in lowlevel.library any better?
|
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/26 8:17
#68 |
---|---|---|
Just popping in
![]() ![]() Joined:
2006/12/26 19:11 From Athens/Greece
Posts: 141
|
Really thanks for all your hard work! I hope that Napalm, will the your first for plenty of games' patches to come xD Can't wait to play it on my OS4 machine :)
|
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/26 18:33
#69 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2009/10/7 0:11 Posts: 986
|
@chris
A good suggestion, but my first simple test seems to show, that lowlevel.library doesn't work on USB keyboards either... |
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/26 18:44
#70 |
---|---|---|
Amigans Defender
![]() ![]() Joined:
2006/11/17 22:40 From England
Posts: 2862
|
Quote:
Really? lowlevel routes through amigainput, which supports usb. It might be that the lowlevel.library keyboard functions aren't implemented at all though... |
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/26 22:32
#71 |
---|---|---|
Amigans Defender
![]() ![]() Joined:
2006/11/17 22:40 From England
Posts: 2862
|
Actually, that's a bit odd. AmigaInput *does* have a Generic_Keyboard driver, but it doesn't show up in the GUI like it used to (suggesting it isn't loading), which is probably why the LowLevel keyboard functions aren't working.
Maybe the version of generic_keyboard.driver is too low? generic_mouse (which does show up) is v52, whereas generic_keyboard is only v51. (yes, it's looking for v52, I just checked, reported on Hyperion forums http://forum.hyperion-entertainment.biz/viewtopic.php?f=14&t=199) |
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/28 22:16
#72 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2009/10/7 0:11 Posts: 986
|
@Chris
Thanks for reporting the problem, hopefully there will be a solution soon. In the meantime some news: Reimplemented the keyboard functions, and now the keyboard seems to be working ok (I haven't been able to check all the keys yet, but at least it scrolls and selects units). The game area only takes up half the screen (sort of 320x480, weird...), and the mouse movements and mouse buttons are not recognized. It's comming along slowly, though, give me another 14 days, and I think I will have something! ![]() |
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/28 22:54
#73 |
---|---|---|
Just popping in
![]() ![]() Joined:
2007/9/5 21:15 Posts: 70
|
Unbelievable work! Sounds really great!
|
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/28 23:15
#74 |
---|---|---|
Just popping in
![]() ![]() Joined:
2010/10/15 6:13 Posts: 78
|
fully awesome dude!
![]() |
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/29 7:53
#75 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/5/19 13:23 Posts: 2815
|
Looking forward to it :)
|
|
_________________
Author of the PortablE programming language. I love using Amiga OS4.1 on my A1-X1000 & Sam440 ![]() Don't forget the official support forum for OS4! |
||
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/29 8:38
#76 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 11:31 From Russia
Posts: 3846
|
@alfkil
Awesome :) Will be pretty interesting to complete napalm on os4 one more time. Btw, about "The game area only takes up half the screen (sort of 320x480, weird...)", did you mean that now, whole Napalm resolution are 320x480, or, you mean that only plaing area are 320x480, and other parts of screen (640-320) - are for settings/house builder/etc ? As far as i remember, Napalm have config where you can choice resolution, it it was something around 640x480 ? Or it always was 320x480 ? |
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/29 11:41
#77 |
---|---|---|
Just popping in
![]() ![]() Joined:
2006/12/26 19:11 From Athens/Greece
Posts: 141
|
@alkfil
Can't wait to play Napalm natively on OS4.x! Come on, you have work to do cause we will also need a high resolution pack afterwards :) |
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/29 12:33
#78 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/2 3:55 From Italy, Perugia
Posts: 2745
|
@alfkil
Nice progress ![]() |
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/30 9:40
#79 |
---|---|---|
Just popping in
![]() ![]() Joined:
2006/12/2 18:13 From Sweden
Posts: 243
|
@alfkil
Thanks for the answer and for the update ![]() |
|
|
Re: Getting Napalm to run on AmigaOS 4.1.2? |
Posted on: 2011/7/30 16:41
#80 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/11/30 18:43 From Norway
Posts: 2416
|
@alfkil
Keep it up. Anyone knows where i can Get hold of the game? Or is tyst not possible any longer? |
|
_________________
Sam460 Lite |
||