Welcome, Guest. Please login or register.


Author Topic: DTF releases by Attus (Read 7922 times)

Offline SlashNet

  • EP addict
  • *
  • Posts: 1324
  • Country: ua
  • Enterprise 128K | Cubietruck
    • My old site about Enterprise
DTF releases by Attus
« on: 2024.August.18. 12:19:50 »
I've recently discovered that some DTF-formatted games won't run except from the original images.

I extracted both DTF file and ATTUS boot loader, created a new disc image but the game did not work from it. Also the result processed by AntiDTF does not work. Also tried other boot loaders of DTF-files without results.

System configuration in the emulator is unchanged. What can be the problem?

Of the games found, at least the following games have this issue:

O.K.Yah! (OK-YAH.DTF from 07.img)
Super Pipeline ZX (PIPELIN2.DTF from 15.img)
Dominator (DOMINATO.DTF from 13.img)
SDI. Now the Odds are Even (SDI.DTF from 02.img)

https://enterpriseforever.com/downloads?dir=Attus_programjai/&?dir=Attus_programjai%2F&download=Attus_lemezei.rar

Offline nyuzga

  • EP addict
  • *
  • Posts: 2304
  • Country: hu
Re: DTF releases by Attus
« Reply #1 on: 2024.August.18. 19:29:28 »
Pipeline works:
« Last Edit: 2024.August.18. 19:47:01 by szipucsu, Reason: English translation »

Offline nyuzga

  • EP addict
  • *
  • Posts: 2304
  • Country: hu
Re: DTF releases by Attus
« Reply #2 on: 2024.August.18. 20:03:51 »
not working:


Offline SlashNet

  • EP addict
  • *
  • Posts: 1324
  • Country: ua
  • Enterprise 128K | Cubietruck
    • My old site about Enterprise
Re: DTF releases by Attus
« Reply #3 on: 2024.August.18. 22:02:44 »
Pipeline works:

It freeses after "Space". But working from img.

Offline szipucsu

  • Global Moderator
  • EP addict
  • *
  • Posts: 10080
  • Country: hu
    • Támogató Támogató
    • Webnyelv.hu - Tanuljunk nyelveket!
Re: DTF releases by Attus
« Reply #4 on: 2024.August.19. 09:45:56 »
Are there no hidden files in the image?
100 SOUND SOURCE 2,STYLE 128,PITCH 25.2,SYNC 1
110 SOUND PITCH 25,SYNC 1
120 ! Videos

Offline SlashNet

  • EP addict
  • *
  • Posts: 1324
  • Country: ua
  • Enterprise 128K | Cubietruck
    • My old site about Enterprise
Re: DTF releases by Attus
« Reply #5 on: 2024.August.19. 10:26:54 »
Are there no hidden files in the image?

I used a debugger script to check if any other file is being opened.

Hibakereső szkriptet használtam annak ellenőrzésére, hogy nyílik-e más fájl.

Offline szipucsu

  • Global Moderator
  • EP addict
  • *
  • Posts: 10080
  • Country: hu
    • Támogató Támogató
    • Webnyelv.hu - Tanuljunk nyelveket!
Re: DTF releases by Attus
« Reply #6 on: 2024.August.19. 10:56:35 »
Maybe a breakpoint could be used in the emulator (debugger window) to find the cause of the problem.
100 SOUND SOURCE 2,STYLE 128,PITCH 25.2,SYNC 1
110 SOUND PITCH 25,SYNC 1
120 ! Videos

Offline geco

  • EP addict
  • *
  • Posts: 7218
  • Country: hu
    • Támogató Támogató
Re: DTF releases by Attus
« Reply #7 on: 2024.August.19. 21:06:36 »
The reason is the loader puts code to 0008-000fh, and the program jumps to 0000h from
905C  CD 42 91     CALL  9142
and it will never reach
0010  C3 F2 15     JP    15F2

Offline geco

  • EP addict
  • *
  • Posts: 7218
  • Country: hu
    • Támogató Támogató
Re: DTF releases by Attus
« Reply #8 on: 2024.August.19. 21:18:26 »
Sorry, it is not the Loader which puts code into 0008h-000fh, Basic ROM fills it up.
Please try to load without Basic cartridge it will work.
Probably the problem is the same with other programs.

Offline geco

  • EP addict
  • *
  • Posts: 7218
  • Country: hu
    • Támogató Támogató
Re: DTF releases by Attus
« Reply #9 on: 2024.August.19. 21:27:57 »
DOMINATO.PRG would load ZONE.A1 and the file does not exist.
There are ZONE.* hidden files on the disc.
« Last Edit: 2024.August.19. 21:31:12 by geco »

Offline geco

  • EP addict
  • *
  • Posts: 7218
  • Country: hu
    • Támogató Támogató
Re: DTF releases by Attus
« Reply #10 on: 2024.August.19. 21:39:15 »
OK-YAH works also without Basic cartridge, the loader jumps to 0018h instead of 0028h where the jump instruction is stored, and Basic fills that area also.
SDI has similar problem, it works without Basic cartridge, the loader jumps to 0020h instead of 0028h
« Last Edit: 2024.August.19. 21:42:31 by geco »

Offline SlashNet

  • EP addict
  • *
  • Posts: 1324
  • Country: ua
  • Enterprise 128K | Cubietruck
    • My old site about Enterprise
Re: DTF releases by Attus
« Reply #11 on: 2024.August.19. 22:27:15 »
OK-YAH works also without Basic cartridge, the loader jumps to 0018h instead of 0028h where the jump instruction is stored, and Basic fills that area also.
SDI has similar problem, it works without Basic cartridge, the loader jumps to 0020h instead of 0028h

Interesting.
But I still can't understand why game works good only from "original" image.

Works even with the Basic cartridge, when autoexec directly launches the ATTUS loader at startup. But if you first switch to Basic and then launch the ATTUS loader, the program will fail.
[ Guests cannot view attachments ]

I understood the difference. :)
My (automaticly generated) autoexec run firstly Basic and then necessary program.

Thank you. You have satisfied my curiosity.
« Last Edit: 2024.August.19. 22:32:12 by SlashNet »

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14773
  • Country: hu
    • http://enterprise.iko.hu/
Re: DTF releases by Attus
« Reply #12 on: 2024.August.19. 23:15:24 »
Then will be good idea add zero fill RST area to the Anti DTF loader?

Offline geco

  • EP addict
  • *
  • Posts: 7218
  • Country: hu
    • Támogató Támogató
Re: DTF releases by Attus
« Reply #13 on: 2024.August.20. 00:35:01 »
Then will be good idea add zero fill RST area to the Anti DTF loader?
It is also possible, but 2 programs which uses RST 18h and 20h instead of 28h can be fixed easily.
Pipeline 2 jumps to 0000h at RET, i think it can be fixed also.

Offline geco

  • EP addict
  • *
  • Posts: 7218
  • Country: hu
    • Támogató Támogató
Re: DTF releases by Attus
« Reply #14 on: 2024.August.20. 13:00:12 »
I have created a DTF Fixpack, Dominator had problems after the 0000-002fh issue was solved, because the level files were packed also. DTFfixpack.zip is the source code for updating the loader, and if needed to unpack level files, and patch the length into the file.

DTF_FixedPRG.zip contains the 4 programs which are fixed.