ZX ULAX emulator

Struggling with Fuse or trying to find an emulator with a specific feature. Ask your questions here.
User avatar
PeterJ
Site Admin
Posts: 6859
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: ZX ULAX emulator

Post by PeterJ »

Changed for you [mention]Pegaz[/mention]. When you reply or quote a post you can edit the subject field.
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

Re: ZX ULAX emulator

Post by Lethargeek »

Pegaz wrote: Wed May 06, 2020 7:14 pm Is it possible to use some command line switch or setting in the ini file, so that the emulator starts in full screen mode by default?
maybe some later version, as it will need a major interface overhaul
in fullscreen you can't see any emulator state info as it's in the window title
but at least the switch between the modes is instant
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

Re: ZX ULAX emulator

Post by Lethargeek »

the OP changed to reflect the current state of things and the actual download links (thanks to [mention]PeterJ[/mention])
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

Re: ZX ULAX emulator

Post by Lethargeek »

a wip dux driver for the recent The Lost Treasures of Tulum
viewtopic.php?f=3&t=2656
if anybody wants it without the color clash

it's so small i put it here just as a text:

Code: Select all

; tile
105F84	C088 0131 0113
105F8B	C888

; sbuf2scr
10131C	0111 0 0111

; hero
1013AC	C006
1013B0	0131 0530 0 0330 0113
1013BC	C888
; attr
101343	01F1 C333 001F
801344	0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF
; enemy
101AE6	C006
101AE9	1013B0	5
101AF2	C888


;;;; tags

809B2F	FFFD 8001 8000
-5	FFFD -7A1116 8000
809B31	809B2F	-1A
809B56	809B2F	-1C
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

Re: ZX ULAX emulator

Post by Lethargeek »

and another one for Bonnie and Clyde ;)
viewtopic.php?f=3&t=2660

Code: Select all

; reg-colors
7F000A	fffd 1100 -7A1117
7F000B	fffd 8001 -7A1117
7F000C	fffd 8001 8000
7F000D	fffd 8001 -7A000F
7F000E	fffd -7A1110 -7A111F
; darker bg
7A0007	4210

; scr2buf
107D23	0111

; sprite
1091D6	C30A
1091D7	0131 0530 0 0330 0 0113 0 0
1091DF	1091D7	26
109212	C888
109224	0131 0113 0 0
109228	109224	12
109264	109224	16
109286	0131 0113
109289	-1091D6
10928A	1091D7	2E
1092B8	C888
1092BA	0131 0113
1092D3	-1091D6
1092D4	1091D7	16
1092EC	109224	6
1092F4	1091D7	16
10930A	C888

; bullet
109760	C0EA
109763	0131 0330 0 0113 0 0110 0 0110
10976E	109763	4
109772	C888
109777	C0FA
10977A	109763	4
10977F	109763	4
109784	0131 0530 0 0330 0 0113 0
10978B	109784	14
1097A0	10977A	9
1097A9	C888
1097B7	0131 0113

; safe
109BD1	01FC
109BE4	01FD
109BEA	01FC
; Bonnie
109EA5	01FB
; item
109EB7	01FE
109EBB	01FE
10A040	01FE
10A067	01FE
10A075	01FE
10A086	01FE

; Bonnie restore
109E03	0131 0113 0 0
109E07	109E03	1A
; Bonnie, items, safe
109EBD	C30F 0 C30F
109ED1	C888
; item restore
10A04F	109E03	E

; coins
10A4C5	C0E0
10A4CD	C0E0
10A4D3	C0E0
10A4D5	1091D7	7
10A4DC	10A4D5	15
10A4F3	C888
(this is as much as could be done without searching for individual sprite gfx)
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

polishing update

Post by Lethargeek »

public beta 16
fake border in fullscreen improved (extra lines @ top & bottom before extension, still not ideal for taller resolutions)
some other minor video optimizations; some ini defaults changed; reset (Home key) also resets border timings

Bonnie and Clyde & Tulum added to the game pack (also improved a bit Academy+ pentagon-fix)
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

Re: ZX ULAX emulator

Post by Lethargeek »

(updated Bonnie and Clyde yet again after two original fixes made today)
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

moar polishing

Post by Lethargeek »

public beta 17

now it's possible to toggle fake border in runtime (RAlt+F12)

and to cycle 3 picture fit modes in fullscreen (RAlt+F11) -
- fit "full" ZX borders (~352x288) - not recommended with fake border
- fit ULAX raster (~352x256) - same as in the windowed mode
- fit ZX raster (~256x192) - when border size isn't that important
(usually will be a bit more depending on particular desktop resolution)

former RAlt+F11/F12 functions (adapturbo extra cycles) are now RAlt+F2/F3
User avatar
Pegaz
Dynamite Dan
Posts: 1209
Joined: Mon Nov 13, 2017 1:44 pm

Re: ZX ULAX emulator

Post by Pegaz »

This zx raster mode is very useful on my lcd tv, because the screen was not big enough in default zx ulax mode.
I really like how this emulator is progressing... :)
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

Re: ZX ULAX emulator

Post by Lethargeek »

btw [mention]Pegaz[/mention], do you use your TV as the primary display? have you experienced any problems in a dual-screen setup?

sadly, i cannot figure out how to detect a mode change without reinitializing SDL every suspicious event or using the dreaded winAPI :(

so for the correct operation the emulator needs to be started in a display mode it's supposed to work in without any later changes
User avatar
Pegaz
Dynamite Dan
Posts: 1209
Joined: Mon Nov 13, 2017 1:44 pm

Re: ZX ULAX emulator

Post by Pegaz »

Lethargeek wrote: Fri May 15, 2020 10:38 pm btw @Pegaz, do you use your TV as the primary display? have you experienced any problems in a dual-screen setup?

sadly, i cannot figure out how to detect a mode change without reinitializing SDL every suspicious event or using the dreaded winAPI :(

so for the correct operation the emulator needs to be started in a display mode it's supposed to work in without any later changes
No, I had no problems in either single or dual mode, no matter which display is primary.
I just changed the resolution in graphics card settings to 720p 50Hz, to achieve perfect sync with the TV screen and everything works very well...
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

Re: ZX ULAX emulator

Post by Lethargeek »

Pegaz wrote: Sat May 16, 2020 1:01 pm No, I had no problems in either single or dual mode, no matter which display is primary.
I just changed the resolution in graphics card settings to 720p 50Hz, to achieve perfect sync with the TV screen and everything works very well...
and you're starting the emulator on the TV display, right? or were both displays 50Hz?
btw it should also sync properly with 100Hz and 144Hz (in that case you get 48fps which is actually closer to pentagon)
User avatar
Pegaz
Dynamite Dan
Posts: 1209
Joined: Mon Nov 13, 2017 1:44 pm

Re: ZX ULAX emulator

Post by Pegaz »

Lethargeek wrote: Sat May 16, 2020 1:45 pm
Pegaz wrote: Sat May 16, 2020 1:01 pm No, I had no problems in either single or dual mode, no matter which display is primary.
I just changed the resolution in graphics card settings to 720p 50Hz, to achieve perfect sync with the TV screen and everything works very well...
and you're starting the emulator on the TV display, right? or were both displays 50Hz?
btw it should also sync properly with 100Hz and 144Hz (in that case you get 48fps which is actually closer to pentagon)
Yes, I start the emulator in single mode on the TV as the primary display and the refresh rate is 50Hz on the TV.
If I use dual clone mode, then the refresh rate on TV is 50Hz and on the monitor 60Hz (my laptop does not support any other frequency).
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

Re: ZX ULAX emulator

Post by Lethargeek »

Pegaz wrote: Sat May 16, 2020 4:53 pm Yes, I start the emulator in single mode on the TV as the primary display and the refresh rate is 50Hz on the TV.
If I use dual clone mode, then the refresh rate on TV is 50Hz and on the monitor 60Hz (my laptop does not support any other frequency).
hmm, looks like the TV in the clone mode is being treated as the primary too, that's unexpected (not that i'm complaining) :)

anyway, just keep an eye on everything suspicious, esp the sound breaking or lagging more and more behind the picture

i need to test more things...
Gvan
Drutt
Posts: 10
Joined: Mon May 18, 2020 2:43 am

Re: ZX ULAX emulator

Post by Gvan »

Lethargeek wrote: Sun May 10, 2020 12:57 am a wip dux driver for the recent The Lost Treasures of Tulum
viewtopic.php?f=3&t=2656
if anybody wants it without the color clash

it's so small i put it here just as a text:

Code: Select all

; tile
105F84	C088 0131 0113
105F8B	C888

; sbuf2scr
10131C	0111 0 0111

; hero
1013AC	C006
1013B0	0131 0530 0 0330 0113
1013BC	C888
; attr
101343	01F1 C333 001F
801344	0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF
; enemy
101AE6	C006
101AE9	1013B0	5
101AF2	C888


;;;; tags

809B2F	FFFD 8001 8000
-5	FFFD -7A1116 8000
809B31	809B2F	-1A
809B56	809B2F	-1C
Hello.
How can I "apply" this code ?
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

Re: ZX ULAX emulator

Post by Lethargeek »

Gvan wrote: Mon May 18, 2020 3:21 am How can I "apply" this code ?
make it an ascii text file with ".dux" extension, then use it as the other dux files in the game pack (english readme for instructions)

but hey, now it's already included in the game pack :)
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

double update

Post by Lethargeek »

public beta 18 - fixed old stupid bug of drag&drop events ignored while on pause :x

added 2 parts of Corsarios (+3 hack tr-dos version) in the game pack
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

game pack update

Post by Lethargeek »

this time just one game, but it's one of these great games from Slovakia - Kliatba noci :twisted:

Image

really like games from these guys, one of the best spectrum gfx examples, no doubt
but it doesn't mean it can't be improved further a bit ;)

the only downside for me is it becoming too easy if you know what to do
(i think it needs another chained skeleton behind the "bloody key" door)

the snapshot was made from the disked english version, but i think it should work with any one
User avatar
Sokurah
Manic Miner
Posts: 283
Joined: Tue Nov 14, 2017 10:38 am
Contact:

Re: game pack update

Post by Sokurah »

Lethargeek wrote: Fri Apr 24, 2020 7:58 am 3 new games - black&white, dingo and gimmick! yumetaro odyssey

(for the last one the colorization also fixes some gfx glitches of the original)
What was done to Dingo?
Website: Tardis Remakes / Mostly remakes of Arcade and ZX Spectrum games.
My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation & Sqij.
Twitter: Sokurah
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

Re: game pack update

Post by Lethargeek »

Sokurah wrote: Tue May 26, 2020 1:14 pm What was done to Dingo?
colour clash removed, most xor effects removed, each sprite given its own colour (only one per sprite though, i was feeling lazy)
User avatar
Sokurah
Manic Miner
Posts: 283
Joined: Tue Nov 14, 2017 10:38 am
Contact:

Re: game pack update

Post by Sokurah »

Lethargeek wrote: Tue May 26, 2020 1:43 pm
Sokurah wrote: Tue May 26, 2020 1:14 pm What was done to Dingo?
colour clash removed, most xor effects removed, each sprite given its own colour (only one per sprite though, i was feeling lazy)
Interresting. Is there a video showing the result?
Website: Tardis Remakes / Mostly remakes of Arcade and ZX Spectrum games.
My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation & Sqij.
Twitter: Sokurah
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

Re: game pack update

Post by Lethargeek »

Sokurah wrote: Tue May 26, 2020 2:51 pm Is there a video showing the result?
no, we stopped making videos when the emulator became public (and it wasn't me making them btw)

anyway, why don't you just run the damn thing and see yourself? :?

are you not on windows? i know there may be sound problems under wine, still you can check the graphics
User avatar
Sokurah
Manic Miner
Posts: 283
Joined: Tue Nov 14, 2017 10:38 am
Contact:

Re: game pack update

Post by Sokurah »

Lethargeek wrote: Tue May 26, 2020 3:07 pm anyway, why don't you just run the damn thing and see yourself? :?
How charming :roll:

Tried it. It's pretty neat. Pretty ****ing impossible to figure out how to load a game in that emulator though :o

Oh, and a bug report: The game no longer shows in the status area which fruit gives the bonus :?
... and also too bad that it's an old version of Dingo where the controls hasn't been fixed yet.

But I'm definitely going to check out some of the other games included :)
Website: Tardis Remakes / Mostly remakes of Arcade and ZX Spectrum games.
My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation & Sqij.
Twitter: Sokurah
User avatar
Lethargeek
Manic Miner
Posts: 736
Joined: Wed Dec 11, 2019 6:47 am

Re: game pack update

Post by Lethargeek »

Sokurah wrote: Tue May 26, 2020 3:49 pm Tried it. It's pretty neat. Pretty ****ing impossible to figure out how to load a game in that emulator though :o
but it's thoroughly described in the accompanying readmes
i'm really at a loss for what else might people need :?
Sokurah wrote: Tue May 26, 2020 3:49 pm Oh, and a bug report: The game no longer shows in the status area which fruit gives the bonus :?
... and also too bad that it's an old version of Dingo where the controls hasn't been fixed yet.
not a bug, but a feature of the 1.1 (somehow i overlooked the 1.3) :oops:
there was a different bug though (i forgot to suppress the yellow attrs for the flying 1000pts)
will fix it when updating the game version, if only because of the controls (the old ones really were a pain)
Sokurah wrote: Tue May 26, 2020 3:49 pm But I'm definitely going to check out some of the other games included
just try to do everything according to TFM, ok? ;)
User avatar
Sokurah
Manic Miner
Posts: 283
Joined: Tue Nov 14, 2017 10:38 am
Contact:

Re: game pack update

Post by Sokurah »

Lethargeek wrote: Tue May 26, 2020 4:56 pm
not a bug, but a feature of the 1.1 (somehow i overlooked the 1.3) :oops:
Haha, you're right. I just compiled v1.1 and the bonus fruit isn't shown there.
I'd completely forgotten that I must have added that later.

... well, it has been a while ;) :lol:
Website: Tardis Remakes / Mostly remakes of Arcade and ZX Spectrum games.
My games for the Spectrum: Dingo, The Speccies, The Speccies 2, Vallation & Sqij.
Twitter: Sokurah
Post Reply