ql superbomber and m-crunch ..and more things

Anything QL Software or Programming Related.
Derek_Stewart
QL Wafer Drive
Posts: 1176
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: ql superbomber and m-crunch ..and more things

Postby Derek_Stewart » Mon Feb 11, 2019 9:02 pm

nikosdoykas wrote:so if is in _ file then....ok i make a dissasembly ....1.zip
its an rtf... i dont know if its ok...

Hi,

Nice disassembley, but have a look at Disa or Dea, they both free and very good.

Disa requires the Extended Envoironment, Disa is my favourite.

I will upload my disassembley of the game for comparison.


Regards,

Derek
Martin_Head
Gold Card
Posts: 373
Joined: Tue Dec 17, 2013 1:17 pm

Re: ql superbomber and m-crunch ..and more things

Postby Martin_Head » Tue Feb 12, 2019 10:10 am

nikosdoykas wrote:
Martin_Head wrote:
nikosdoykas wrote: if i copy the files in the win1_ and win_use mdv then lrun mdv1_boot.... the QL (minerva and the jm) restarts ..
The win1_ medium name would need to be 'J Oobadiah' If I remember correctly, If the medium name is wrong, it resets the system.



so it must be win1_j Oobiadiah_ the folder?
No you would have to format win1... FORMAT "WIN1_J Oobadiah" ( note the space). Then copy the game files into the root of win1_ (with no subdirectories)

Alternatively you could patch the the game file (I think it was the one with a file name of '_', So it did not do the test anymore.


nikosdoykas
ROM Dongle
Posts: 33
Joined: Tue Oct 09, 2018 4:20 am

Re: ql superbomber and m-crunch ..and more things

Postby nikosdoykas » Wed Feb 13, 2019 6:55 pm

how i can patch the game????
in the _ file in hex i see ΤΗΕ MDV1_J Oobadiah.......... SO WHAT IS THE TRICK TO..... OVERRIDE THE TEST...?


Martin_Head
Gold Card
Posts: 373
Joined: Tue Dec 17, 2013 1:17 pm

Re: ql superbomber and m-crunch ..and more things

Postby Martin_Head » Fri Feb 15, 2019 5:26 pm

nikosdoykas wrote:how i can patch the game????
in the _ file in hex i see ΤΗΕ MDV1_J Oobadiah.......... SO WHAT IS THE TRICK TO..... OVERRIDE THE TEST...?

Here's a snippet of my disassembly

Code: Select all

Josiah Oobadiah file named _ (underscore)

*  Start of Deassembly Code - Dea v5.2 Plus 3
*  Original file: ram1_file1
*  Code execution starts at $10000 with label Lab10000
START_CODE
Lab10000  bsr.s     lab10022          ;check medium name
          bne.s     lab10020          ;error
          bsr.s     lab10074          ;allocate 73728 bytes in resident procedure area
          bne.s     lab10020          ;error
          bsr       lab1008c          ;make sure we are in mode 8
          bsr       lab100a2          ;load mdv1_piccy into resident proc area
          bne.s     lab10020          ;error
          bsr       lab10100          ;copy picture into screen display
          bsr       lab100aa          ;load "mdv1_ " into resident proc area
          bne.s     lab10020          ;error
          bsr       lab10124          ;jump to start of resident proc area
Lab10020  rts

Lab10022  lea       lab1012c,a0       ;'mdv1_'
          moveq     #-1,d1
          moveq     #4,d3             ;directory
          moveq     #1,d0
          trap      #2

*  ¾¾¾ QDOS TRAP #2 - D0=$01 : IO.OPEN ¾¾¾


          tst.l     d0
          bne.s     lab10020
          lea       lab10162,a1       ;10 byte buffer for medium name
          moveq     #-1,d3
          moveq     #$45,d0
          trap      #3

*  ¾¾¾ QDOS TRAP #3 - D0=$45 : FS.MDINF ¾¾¾


          move.l    d0,d7
          moveq     #2,d0
          trap      #2

*  ¾¾¾ QDOS TRAP #2 - D0=$02 : IO.CLOSE ¾¾¾


          tst.l     d7
          bne.s     lab10020
          lea       lab10162,a0       ;10 byte buffer with medium name
          lea       lab10134,a1       ;'J Oobadiah'
          moveq     #9,d0
Lab10050  cmpm.b     (a0)+,(a1)+      ;compare
          bne.s     lab1005c          ;don't match
          dbf       d0,lab10050
          moveq     #0,d0
          rts

Lab1005C  moveq     #0,d0             ;get system variables in A0
          trap      #1

*  ¾¾¾ QDOS TRAP #1 - D0=$00 : MT.INF ¾¾¾


Lab10060  tst.b     $ee(a0)             ; SV.MDRUN
          bne.s     lab10060          ;wait to microdrives to stop
          trap      #0                ;enter supervisor mode and turn off interrupts
          move.w    #$2700,sr
          move.l    4,-(a7)           ;do a reset???
          rts


Replacing the bsr.s lab10022, and bne.s lab10020, at the start, with a couple of NOP's (no operation) should do it.


nikosdoykas
ROM Dongle
Posts: 33
Joined: Tue Oct 09, 2018 4:20 am

Re: ql superbomber and m-crunch ..and more things

Postby nikosdoykas » Sat Feb 16, 2019 3:36 am

OK ITS RUNNING FROM WIN1_ ...........(i make sothing on hex file change the first 4 hex with dots....) :) :) :) :) :) :) :) :) :mrgreen: :mrgreen: :mrgreen: :mrgreen: (WIN_USE MDV)
BUTT AFTER SECOND SCREEEN THE GAME MAKE THE SAME THING AS ... IMG BLACK SCREEN AND RUNNING... F5-SPACE....NOT TOGETHER and i i can see the... welcome....s the game begins..... black screen(maybe is the qubide rom memory address....)(xmmm its not i change it) so i make s(start) hold....... then rapidly space...... and i play the 1 and second level...(its very hard with keys.... am not a good player....) i lose again black screen.... sssss hold space rapidly noooooo its not the compination of keys is just luck..... on ql with jm rom the game loading but it not work on f2 ( i cann see half of the welcome screen(bottom)) f1 its ok.....



Return to “Software & Programming”

Who is online

Users browsing this forum: No registered users and 1 guest