Welcome, Guest. Please login or register.


Author Topic: COM file size (Read 1553 times)

Offline geco

  • EP addict
  • *
  • Posts: 6906
  • Country: hu
    • Támogató Támogató
Re: COM file size
« Reply #15 on: 2023.September.05. 18:24:37 »
if you upload the source, i can add the mentioned modifications

Offline Under4Mhz

  • Newbie
  • Posts: 4
Re: COM file size
« Reply #16 on: 2023.September.06. 04:44:39 »
Other small thing could be added, using FF segment if it is an ep64 machine, in this case the game could run on ep64
Just a few questions on that. Won't that cause the 52 second problem? What's the default EXOS segment for the EP64? How do I detect a EP64? Won't it run on a EP64 as it is now? I'm not using the extended 128K.

Offline geco

  • EP addict
  • *
  • Posts: 6906
  • Country: hu
    • Támogató Támogató
Re: COM file size
« Reply #17 on: 2023.September.06. 07:57:01 »
I would change the sequence of LPT setting and video memory deletion, LPT would contain 3F left margin, after deleting video memory left margin would set to 0B, by this 52 sec problem, and dirt on the screen can be avoided if default EXOS system segment is used as video memory. The easiest way (and not 100% sure) if you check if page0 contains FC, if it is, then the machine is EP64. You do not use the extra memory, and after 52 seconds the original version would run on EP64, but after my patch it does not, it even does not use extra memory, but by changing video memory from FF to FD the game will overwrite 2nd game page by video memory, because it is loaded to FC and FD.

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14572
  • Country: hu
    • http://enterprise.iko.hu/
Re: COM file size
« Reply #18 on: 2023.September.06. 08:59:03 »
What do you think about the "force an immediate re­load of the line parameter base pointer" (reset b7 of 83h)? Then probably will work the original memory layout? (anyway more EXOS compatible don't ruin the FFh segment :oops: )

Offline geco

  • EP addict
  • *
  • Posts: 6906
  • Country: hu
    • Támogató Támogató
Re: COM file size
« Reply #19 on: 2023.September.06. 18:18:08 »
What do you think about the "force an immediate re­load of the line parameter base pointer" (reset b7 of 83h)? Then probably will work the original memory layout? (anyway more EXOS compatible don't ruin the FFh segment :oops: )
Good idea, i forgot about this possibility :-) , but yes i would like toadd more exos compatibility to avoid destroying system segment(s) if possible.

Offline geco

  • EP addict
  • *
  • Posts: 6906
  • Country: hu
    • Támogató Támogató
Re: COM file size
« Reply #20 on: 2023.September.08. 12:10:05 »
I performed some patches:
key @ was changed to P
EXT joy1 fixed
and now the program should run on EP64 also
Soft reset routine added

The zip contains the original version, the patched version, and the source, and binary used for patch.