Dune II / OpenDUNE for Falcon (and TT)
Moderators: Mug UK, [ProToS], moondog/.tSCc., lp, Moderator Team
Re: Dune II / OpenDUNE for Falcon (and TT)
Stock falcon 14mb, fpu, VGA (256c/40lines/double line ON).
Dune 2 1.07 tested with dosbox.
Mouse freezes after intro (play game / ....)
Dune 2 1.07 tested with dosbox.
Mouse freezes after intro (play game / ....)
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Sun Jun 28, 2015 2:36 pm
- Location: France
Re: Dune II / OpenDUNE for Falcon (and TT)
Great
the midi music is played !



Re: Dune II / OpenDUNE for Falcon (and TT)
I don't know what's wrong with my code :bartek030 wrote:Stock falcon 14mb, fpu, VGA (256c/40lines/double line ON).
Dune 2 1.07 tested with dosbox.
Mouse freezes after intro (play game / ....)
https://github.com/miniupnp/OpenDUNE/bl ... ari_ikbd.s
edit : hum I will have a look at SDL code : http://hg.libsdl.org/SDL/file/b1d2398f2 ... nterrupt.S
4MB STE + CosmosEx /|\ MegaST4 + MegaFile 44 /|\ Stacy 4
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Sun Jun 28, 2015 2:36 pm
- Location: France
Re: Dune II / OpenDUNE for Falcon (and TT)
At the menu game,i can push up and down keys without problem, the freeze come after press return or mouse move.
@ Bartek030: have you ear a voice in the intro game? My Falcon don't play sound?
@ Bartek030: have you ear a voice in the intro game? My Falcon don't play sound?
Re: Dune II / OpenDUNE for Falcon (and TT)
I can watch whole intro with sound,
it has some hiccups but works.
With mouse not used I can start gameplay, but no music.
But sound is working - speech, enemy shots etc.
Tested all three buids, also with superdune mod.
it has some hiccups but works.
With mouse not used I can start gameplay, but no music.
But sound is working - speech, enemy shots etc.
Tested all three buids, also with superdune mod.
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Sun Jun 28, 2015 2:36 pm
- Location: France
Re: Dune II / OpenDUNE for Falcon (and TT)
Thanks Bartek030 

- Atari030
- Atari Super Hero
- Posts: 641
- Joined: Mon Feb 27, 2012 6:14 am
- Location: Melbourne, Australia
Re: Dune II / OpenDUNE for Falcon (and TT)
I'm not having much luck with my CT2 Falcon. I only get as far as a white screen, tried in single TOS as well as MINT.
Is the blitter being used at all?
Is the blitter being used at all?
Re: Dune II / OpenDUNE for Falcon (and TT)
@Atari030: no blitter at all
new version : http://nanard.free.fr/opendune/OpenDUNE ... 160509.zip
I very slightly modified the IKBD vector, but I still do not understand what the problem is. As everything works with Hatari, I'm suspecting a CPU cache issue. Maybe updating interrupt vector "on the fly" for receiving mouse IKBD packet is the problem, but SDL is doing the same !
The big change is for TT : each line is doubled, simulating 320x240 in TT Low resolution (320x480)
As mouse has issues, you can use keyboard for many things in this game : in menus, the 1st letter is a shortcut.
In game, F1 is to access Mentat screen (E to exit)
F2 for option menu (check in "game controls" that music / sound are enabled)
F3 construction yard menu
new version : http://nanard.free.fr/opendune/OpenDUNE ... 160509.zip
I very slightly modified the IKBD vector, but I still do not understand what the problem is. As everything works with Hatari, I'm suspecting a CPU cache issue. Maybe updating interrupt vector "on the fly" for receiving mouse IKBD packet is the problem, but SDL is doing the same !
The big change is for TT : each line is doubled, simulating 320x240 in TT Low resolution (320x480)
As mouse has issues, you can use keyboard for many things in this game : in menus, the 1st letter is a shortcut.
In game, F1 is to access Mentat screen (E to exit)
F2 for option menu (check in "game controls" that music / sound are enabled)
F3 construction yard menu
4MB STE + CosmosEx /|\ MegaST4 + MegaFile 44 /|\ Stacy 4
Re: Dune II / OpenDUNE for Falcon (and TT)
Still problem with mouse.
Shortcut keys works, so I can get in a game.
Touching the mouse freezes it, but game still works.
Entering Mentat (F1) is possible, but cursor keys don't work properly, exit doesn't work.
Shortcut keys works, so I can get in a game.
Touching the mouse freezes it, but game still works.
Entering Mentat (F1) is possible, but cursor keys don't work properly, exit doesn't work.
Re: Dune II / OpenDUNE for Falcon (and TT)
Just like the others, it works as long as I don't touch the mouse 
Slow, but nice! (stock 14mb falcon)

Slow, but nice! (stock 14mb falcon)
Re: Dune II / OpenDUNE for Falcon (and TT)
The OpenDUNE mouse handler redraw the mouse sprite. I think it is way too long for an interrupt routine. I'm going to rewrite this.
4MB STE + CosmosEx /|\ MegaST4 + MegaFile 44 /|\ Stacy 4
Re: Dune II / OpenDUNE for Falcon (and TT)
here it is : http://nanard.free.fr/opendune/OpenDUNE ... seTest.zipnanard wrote:The OpenDUNE mouse handler redraw the mouse sprite. I think it is way too long for an interrupt routine. I'm going to rewrite this.
Fast clicks may be lost, especially on slow machines, but not mouse moves.
I have seen that Mouse code need to be rewritten to separate mouse moves from mouse clicks better, as mouse clicks are queuing events in the same queue as keyboard keypress/key releases, but mouse moves directly move the sprite in the screen buffer !
4MB STE + CosmosEx /|\ MegaST4 + MegaFile 44 /|\ Stacy 4
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Sun Jun 28, 2015 2:36 pm
- Location: France
Re: Dune II / OpenDUNE for Falcon (and TT)
Well done Nanard
,
the new version run very well on TT
, no mouse freeze , screen double line is OK, it's fully playable
.
(just TT dma sound is a bit slow but no hiccups, not tested Midi on TT yet
)
The text language is only english? (opendune see my TOS but don't change?)
Next, retry game on Falcon
edit: a new opendune.tos have been posted

the new version run very well on TT


(just TT dma sound is a bit slow but no hiccups, not tested Midi on TT yet

The text language is only english? (opendune see my TOS but don't change?)
Next, retry game on Falcon
edit: a new opendune.tos have been posted
Re: Dune II / OpenDUNE for Falcon (and TT)
@MM41: to set language, edit opendune.ini
(or else you can edit the DUNE.CFG with the DOS SETUP.EXE
(or else you can edit the DUNE.CFG with the DOS SETUP.EXE

4MB STE + CosmosEx /|\ MegaST4 + MegaFile 44 /|\ Stacy 4
Re: Dune II / OpenDUNE for Falcon (and TT)
How's the speed on a 32mhz TT?
"4160" STE with Ultrasatan | Falcon 030 14MB with CF-reader | TT030 | STacy | 520STFM x 2 | 520ST x 2
Re: Dune II / OpenDUNE for Falcon (and TT)
Lastest version works on stock falcon, playable.
Re: Dune II / OpenDUNE for Falcon (and TT)
works for me too now, well done 

Re: Dune II / OpenDUNE for Falcon (and TT)
1st mission completed ! on Falcon 14MB ! excellent work ! tnx you for this port ! next is TT ...
some Falcons, some STe's, some ST's, some STacy's, some Jaguars, some Lynx's and one TT 

Re: Dune II / OpenDUNE for Falcon (and TT)
This is great news!
But I have a question ...
Is it possible to compile OpenDUNE also for the Coldfire CPU?
I believe it would be very playable on the FireBee computer
But I have a question ...
Is it possible to compile OpenDUNE also for the Coldfire CPU?
I believe it would be very playable on the FireBee computer

-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Sun Jun 28, 2015 2:36 pm
- Location: France
Re: Dune II / OpenDUNE for Falcon (and TT)
Opendune mouse test work fine on TT too
.
@ NGF: The speed is good (but we want always more speed
)
@ Nanard: the DOS SETUP.EXE don't work on my TT
.
The opendune.INI file is set to french but not in game
It's better on my Falcon, but i can't play (freeze again after selected a clan)
(may be my HD have weakness)
Thank you Nanard for this game adaptation

@ NGF: The speed is good (but we want always more speed

@ Nanard: the DOS SETUP.EXE don't work on my TT

The opendune.INI file is set to french but not in game
It's better on my Falcon, but i can't play (freeze again after selected a clan)

(may be my HD have weakness)
Thank you Nanard for this game adaptation

Re: Dune II / OpenDUNE for Falcon (and TT)
on TT030 4+64 MB work better ! two times faster then Falcon !!
some Falcons, some STe's, some ST's, some STacy's, some Jaguars, some Lynx's and one TT 

Re: Dune II / OpenDUNE for Falcon (and TT)
MM41 wrote: @ Nanard: the DOS SETUP.EXE don't work on my TT.
The opendune.INI file is set to french but not in game
Code: Select all
[opendune]
language=french
could be a problem with sound.MM41 wrote: It's better on my Falcon, but i can't play (freeze again after selected a clan)![]()
(may be my HD have weakness)
Dune II waits for the voice "House Ordos" / etc to be finished at this screen. Do you hear something ?
4MB STE + CosmosEx /|\ MegaST4 + MegaFile 44 /|\ Stacy 4
Re: Dune II / OpenDUNE for Falcon (and TT)
should be possible as long as GCC and VASM have option for it, and some one code the sound / midi / ikbd/mouse support.vido wrote:This is great news!
But I have a question ...
Is it possible to compile OpenDUNE also for the Coldfire CPU?
I believe it would be very playable on the FireBee computer
For such version it may be simpler to use SDL, which I thought was too heavy for TT and Falcon's with plain TOS.
4MB STE + CosmosEx /|\ MegaST4 + MegaFile 44 /|\ Stacy 4
-
- Obsessive compulsive Atari behavior
- Posts: 138
- Joined: Sun Jun 28, 2015 2:36 pm
- Location: France
Re: Dune II / OpenDUNE for Falcon (and TT)
OK ,i do erase ";" in the INI file ,
No sound out Falcon (some noises) since beginning of opendune.
The sound is OK when i play an other game.
I use same archive for my TT and Falcon (TT sound is ok).
Next weekend i'll try an external Falcon hard drive to see
No sound out Falcon (some noises) since beginning of opendune.
The sound is OK when i play an other game.
I use same archive for my TT and Falcon (TT sound is ok).
Next weekend i'll try an external Falcon hard drive to see
Last edited by MM41 on Mon May 09, 2016 10:48 pm, edited 1 time in total.
Re: Dune II / OpenDUNE for Falcon (and TT)
I have a question for you TT owners : Does the latest releases restore correctly the original screenmode ?
here what it looks in Hatari when desktop is ST Mid

@MM41:
there may be additional init to do on falcon to initialize STE DMA sound playback. I need to find this and add...
here what it looks in Hatari when desktop is ST Mid

@MM41:
there may be additional init to do on falcon to initialize STE DMA sound playback. I need to find this and add...
4MB STE + CosmosEx /|\ MegaST4 + MegaFile 44 /|\ Stacy 4