Browse Source

re-disassemble

vampirefrog 3 weeks ago
parent
commit
e56116d098
19 changed files with 2134 additions and 2084 deletions
  1. 11
    0
      Makefile
  2. 1
    1
      bind.s
  3. 1
    1
      cmd.s
  4. 1
    1
      commando.s
  5. 1
    1
      has.s
  6. 1
    1
      hlk.s
  7. 2
    2
      human.s
  8. 10
    10
      iplrom30.s
  9. 9
    9
      iplromxv.s
  10. 1
    1
      mxdrv/2.06+162_03/mxdrv16x.s
  11. 495
    486
      mxdrv/2.06+16_Rel.1/mxdrv16.s
  12. 496
    486
      mxdrv/2.06+16_Rel.2/mxdrv16.s
  13. 487
    477
      mxdrv/2.06+16_Rel.3/mxdrv16.s
  14. 1
    1
      mxdrv/2.06+16_Rel.3/mxdrv30.s
  15. 1
    1
      mxdrv/2.06+16_Rel2++/mxdrvpp.s
  16. 613
    603
      mxdrv/2.06+17_Rel.X5-S/mxdrv17.s
  17. 1
    1
      opmdrv3.s
  18. 1
    1
      pcm8.s
  19. 1
    1
      process.s

+ 11
- 0
Makefile View File

@@ -56,40 +56,51 @@ en/%.o: en/%.s
56 56
 
57 57
 %.s: %.[xr] %.lab
58 58
 	dis_include=$(DIS_INCLUDE) $(DIS) $(DIS_DEBUG) -b2 -h -m68000 --sp -q1 -B -M -o$(COLUMNS) -g$(patsubst %.s,%.lab,$@) --overwrite $< $@
59
+	sed -i -f const.sed $@
59 60
 	sed -i -f clean-s.sed $@
60 61
 
61 62
 # Useful for new .x files
62 63
 %.new.s: %.[xr]
63 64
 	dis_include=$(DIS_INCLUDE) $(DIS) $(DIS_DEBUG) -b2 -h -m68000 --sp -q1 -B -M -o$(COLUMNS) -e$(patsubst %.s,%.lab,$@) --overwrite $< $@
65
+	sed -i -f const.sed $@
64 66
 	sed -i -f clean-s.sed $@
65 67
 
66 68
 mxdrv/%.s: mxdrv/%.[xr] mxdrv/%.lab
67 69
 	dis_include=$(DIS_INCLUDE) $(DIS) $(DIS_DEBUG) -h -k -m68030 -q1 -B -M -w16 -o120 -g"$(patsubst %.s,%.lab,$@)" --overwrite "$<" "$@"
70
+	sed -i -f const.sed $@
68 71
 	sed -i -f clean-s.sed $@
69 72
 
70 73
 iplrom30.s: iplrom30.dat iplrom30.lab iplrom30.tab
71 74
 	dis_include=$(DIS_INCLUDE) $(DIS) $(DIS_DEBUG) -b2 -h -i -m68030 -m68882 -zfe0000,ff0038 -q1 -B -M -w16 --exclude-fefunc-mac -Tiplrom30.tab -giplrom30.lab --overwrite $< $@
75
+	sed -i -f const.sed $@
72 76
 	sed -i -f clean-s.sed $@
73 77
 
74 78
 iplromxv.s: iplromxv.dat iplromxv.lab iplromxv.tab
75 79
 	dis_include=$(DIS_INCLUDE) $(DIS) $(DIS_DEBUG) -b2 -h -i -m68030 -m68882 -zfe0000,ff0010 -q1 -B -M -w16 --exclude-fefunc-mac -Tiplromxv.tab -giplromxv.lab --overwrite $< $@
80
+	sed -i -f const.sed $@
76 81
 	sed -i -f clean-s.sed $@
77 82
 
78 83
 mdxp.s: mdxp.r mdxp.lab
79 84
 	dis_include=$(DIS_INCLUDE) $(DIS) $(DIS_DEBUG) -b2 -h -m68000 --sp -q1 -B -M -o$(COLUMNS) -g$(patsubst %.s,%.lab,$@) --overwrite $< $@
85
+	sed -i -f const.sed $@
80 86
 	sed -i -f clean-s.sed $@
81 87
 
82 88
 human.s: human.sys human.lab
83 89
 	dis_include=$(DIS_INCLUDE) $(DIS) $(DIS_DEBUG) -b2 -h -m68030 --sp -q1 -B -M -o$(COLUMNS) -g$(patsubst %.s,%.lab,$@) --overwrite $< $@
90
+	sed -i -f const.sed $@
84 91
 	sed -i -f clean-s.sed $@
85 92
 
86 93
 opmdrv3.s: opmdrv3.x opmdrv3.lab opmdrv3.tab
87 94
 	dis_include=$(DIS_INCLUDE) $(DIS) $(DIS_DEBUG) -b2 -h -m68000 --sp -q1 -B -M -o$(COLUMNS) -w16 -g$(patsubst %.s,%.lab,$@) -T$(patsubst %.s,%.tab,$@) --overwrite $< $@
95
+	sed -i -f const.sed $@
88 96
 	sed -i -f clean-s.sed $@
89 97
 
90 98
 xlate: xlate.c
91 99
 	gcc xlate.c -o xlate
92 100
 
101
+sclean:
102
+	find . -type f -name "*.s" -exec rm -f {} \;
103
+
93 104
 clean:
94 105
 	rm -f *.o mxdrv/*.o mxdrv/*/*.o
95 106
 	rm -f en/*.o en/mxdrv/*.o en/mxdrv/*/*.o

+ 1
- 1
bind.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename bind.x
3
-;  Time Stamp Mon Aug 24 00:26:25 2020
3
+;
4 4
 ;
5 5
 ;  Base address 000000
6 6
 ;  Exec address 000000

+ 1
- 1
cmd.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename cmd.x
3
-;  Time Stamp Fri Jan 18 05:42:11 2019
3
+;
4 4
 ;
5 5
 ;  Base address 000000
6 6
 ;  Exec address 00001a

+ 1
- 1
commando.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename commando.x
3
-;  Time Stamp Fri Jan 18 05:39:51 2019
3
+;
4 4
 ;
5 5
 ;  Base address 000000
6 6
 ;  Exec address 000010

+ 1
- 1
has.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename has.x
3
-;  Time Stamp Thu Jul 28 23:24:36 1994
3
+;
4 4
 ;
5 5
 ;  Base address 000000
6 6
 ;  Exec address 000000

+ 1
- 1
hlk.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename hlk.r
3
-;  Time Stamp Fri Jul 16 03:48:16 1999
3
+;
4 4
 ;
5 5
 ;  Base address 000000
6 6
 ;  Exec address 000000

+ 2
- 2
human.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename human.sys
3
-;  Time Stamp Wed Sep 15 00:00:00 1993
3
+;
4 4
 ;
5 5
 ;  Base address 006800
6 6
 ;  Exec address 006800
@@ -3993,7 +3993,7 @@ L00925a:
3993 3993
 	rts
3994 3994
 
3995 3995
 L009268:
3996
-	move.l	#$82000000.l,d0
3996
+	move.l	#$82000000,d0
3997 3997
 	rts
3998 3998
 
3999 3999
 Call_MFREE:

+ 10
- 10
iplrom30.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename iplrom30.dat
3
-;  Time Stamp Tue Jan 15 10:36:15 2019
3
+;
4 4
 ;
5 5
 ;  Base address fe0000
6 6
 ;  Exec address ff0038
@@ -3439,7 +3439,7 @@ Lfe314e:
3439 3439
 	rts
3440 3440
 
3441 3441
 Lfe3156:
3442
-	move.l	#$80000000.l,d6
3442
+	move.l	#$80000000,d6
3443 3443
 	bra.s	Lfe314e
3444 3444
 
3445 3445
 Lfe315e:
@@ -7493,7 +7493,7 @@ Lff2e70:
7493 7493
 	bcs.s	Lff2eb4
7494 7494
 	cmp.w	#$0034,d2		;'4'
7495 7495
 	bcc.s	Lff2eb8
7496
-	move.l	#$80000000.l,d3
7496
+	move.l	#$80000000,d3
7497 7497
 	cmp.w	#$0020,d2		;' '
7498 7498
 	bcc.s	Lff2e9e
7499 7499
 	and.l	#$000007ff,d1
@@ -8905,7 +8905,7 @@ Lff3a7c:
8905 8905
 	moveq.l	#$0f,d7
8906 8906
 Lff3a82:
8907 8907
 	move.l	#$635fa931,d2
8908
-	move.l	#$a0000430.l,d3
8908
+	move.l	#$a0000430,d3
8909 8909
 	bsr.w	Lff30d2
8910 8910
 	bcc.s	Lff3ab8
8911 8911
 	moveq.l	#$00,d2
@@ -8913,21 +8913,21 @@ Lff3a82:
8913 8913
 	bsr.w	Lff30d2
8914 8914
 	bcc.s	Lff3ace
8915 8915
 	move.l	#$635fa931,d2
8916
-	move.l	#$a0000430.l,d3
8916
+	move.l	#$a0000430,d3
8917 8917
 	bsr.w	Lff32d8
8918 8918
 	sub.w	#$000f,d7
8919 8919
 	bra.s	Lff3a82
8920 8920
 
8921 8921
 Lff3ab8:
8922 8922
 	move.l	#$635fa931,d2
8923
-	move.l	#$a0000430.l,d3
8923
+	move.l	#$a0000430,d3
8924 8924
 	bsr.w	Lff33de
8925 8925
 	add.w	#$000f,d7
8926 8926
 	bra.s	Lff3a82
8927 8927
 
8928 8928
 Lff3ace:
8929 8929
 	move.l	#$35e620f4,d2
8930
-	move.l	#$8000042d.l,d3
8930
+	move.l	#$8000042d,d3
8931 8931
 	bsr.w	Lff30d2
8932 8932
 	bcc.s	Lff3af4
8933 8933
 	move.l	#$20000000,d2
@@ -20530,7 +20530,7 @@ Lffbcb6:
20530 20530
 	rts
20531 20531
 
20532 20532
 Lffbcbe:
20533
-	move.l	#$ffff2228.l,d0
20533
+	move.l	#$ffff2228,d0
20534 20534
 	move.l	d0,d1
20535 20535
 	rts
20536 20536
 
@@ -20572,7 +20572,7 @@ Lffbd16:
20572 20572
 	rts
20573 20573
 
20574 20574
 Lffbd1e:
20575
-	move.l	#$ffff81a6.l,d0
20575
+	move.l	#$ffff81a6,d0
20576 20576
 	move.l	d0,d1
20577 20577
 	rts
20578 20578
 
@@ -20603,7 +20603,7 @@ Call_AKCONV:
20603 20603
 	cmp.b	#$e0,d1
20604 20604
 	bcs.s	Lffbdc0
20605 20605
 Lffbd70:
20606
-	move.l	#$ffff81a6.l,d0
20606
+	move.l	#$ffff81a6,d0
20607 20607
 	bra.w	Lffbe02
20608 20608
 
20609 20609
 Lffbd7a:

+ 9
- 9
iplromxv.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename iplromxv.dat
3
-;  Time Stamp Sat Apr 15 21:04:00 2000
3
+;
4 4
 ;
5 5
 ;  Base address fe0000
6 6
 ;  Exec address ff0010
@@ -21045,7 +21045,7 @@ Lff287c:
21045 21045
 	bcs.s	Lff28c0
21046 21046
 	cmp.w	#$0034,d2		;'4'
21047 21047
 	bcc.s	Lff28c4
21048
-	move.l	#$80000000.l,d3
21048
+	move.l	#$80000000,d3
21049 21049
 	cmp.w	#$0020,d2		;' '
21050 21050
 	bcc.s	Lff28aa
21051 21051
 	and.l	#$000007ff,d1
@@ -22457,7 +22457,7 @@ Lff3488:
22457 22457
 	moveq.l	#$0f,d7
22458 22458
 Lff348e:
22459 22459
 	move.l	#$635fa931,d2
22460
-	move.l	#$a0000430.l,d3
22460
+	move.l	#$a0000430,d3
22461 22461
 	bsr.w	Lff2ade
22462 22462
 	bcc.s	Lff34c4
22463 22463
 	moveq.l	#$00,d2
@@ -22465,21 +22465,21 @@ Lff348e:
22465 22465
 	bsr.w	Lff2ade
22466 22466
 	bcc.s	Lff34da
22467 22467
 	move.l	#$635fa931,d2
22468
-	move.l	#$a0000430.l,d3
22468
+	move.l	#$a0000430,d3
22469 22469
 	bsr.w	Lff2ce4
22470 22470
 	sub.w	#$000f,d7
22471 22471
 	bra.s	Lff348e
22472 22472
 
22473 22473
 Lff34c4:
22474 22474
 	move.l	#$635fa931,d2
22475
-	move.l	#$a0000430.l,d3
22475
+	move.l	#$a0000430,d3
22476 22476
 	bsr.w	Lff2dea
22477 22477
 	add.w	#$000f,d7
22478 22478
 	bra.s	Lff348e
22479 22479
 
22480 22480
 Lff34da:
22481 22481
 	move.l	#$35e620f4,d2
22482
-	move.l	#$8000042d.l,d3
22482
+	move.l	#$8000042d,d3
22483 22483
 	bsr.w	Lff2ade
22484 22484
 	bcc.s	Lff3500
22485 22485
 	move.l	#$20000000,d2
@@ -32884,7 +32884,7 @@ Lffb7a6:
32884 32884
 	rts
32885 32885
 
32886 32886
 Lffb7ae:
32887
-	move.l	#$ffff2228.l,d0
32887
+	move.l	#$ffff2228,d0
32888 32888
 	move.l	d0,d1
32889 32889
 	rts
32890 32890
 
@@ -32926,7 +32926,7 @@ Lffb806:
32926 32926
 	rts
32927 32927
 
32928 32928
 Lffb80e:
32929
-	move.l	#$ffff81a6.l,d0
32929
+	move.l	#$ffff81a6,d0
32930 32930
 	move.l	d0,d1
32931 32931
 	rts
32932 32932
 
@@ -32957,7 +32957,7 @@ Lffb818:
32957 32957
 	cmp.b	#$e0,d1
32958 32958
 	bcs.s	Lffb8b2
32959 32959
 Lffb860:
32960
-	move.l	#$ffff81a6.l,d0
32960
+	move.l	#$ffff81a6,d0
32961 32961
 	bra.w	Lffb8f6
32962 32962
 
32963 32963
 Lffb86a:

+ 1
- 1
mxdrv/2.06+162_03/mxdrv16x.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename mxdrv/2.06+162_03/mxdrv16x.x
3
-;  Time Stamp Wed Jul  7 12:00:00 1993
3
+;
4 4
 ;
5 5
 ;  Base address 000000
6 6
 ;  Exec address 001488

+ 495
- 486
mxdrv/2.06+16_Rel.1/mxdrv16.s
File diff suppressed because it is too large
View File


+ 496
- 486
mxdrv/2.06+16_Rel.2/mxdrv16.s
File diff suppressed because it is too large
View File


+ 487
- 477
mxdrv/2.06+16_Rel.3/mxdrv16.s
File diff suppressed because it is too large
View File


+ 1
- 1
mxdrv/2.06+16_Rel.3/mxdrv30.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename mxdrv/2.06+16_Rel.3/mxdrv30.x
3
-;  Time Stamp Mon Dec 26 13:52:02 1994
3
+;
4 4
 ;
5 5
 ;  Base address 000000
6 6
 ;  Exec address 00136a

+ 1
- 1
mxdrv/2.06+16_Rel2++/mxdrvpp.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename mxdrv/2.06+16_Rel2++/mxdrvpp.x
3
-;  Time Stamp Sun Feb 27 06:58:36 1994
3
+;
4 4
 ;
5 5
 ;  Base address 000000
6 6
 ;  Exec address 0013f0

+ 613
- 603
mxdrv/2.06+17_Rel.X5-S/mxdrv17.s
File diff suppressed because it is too large
View File


+ 1
- 1
opmdrv3.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename opmdrv3.x
3
-;  Time Stamp Tue Mar  3 00:00:00 1992
3
+;
4 4
 ;
5 5
 ;  Base address 000000
6 6
 ;  Exec address 006bde

+ 1
- 1
pcm8.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename pcm8.x
3
-;  Time Stamp Sun Dec 30 23:03:24 2018
3
+;
4 4
 ;
5 5
 ;  Base address 000000
6 6
 ;  Exec address 006512

+ 1
- 1
process.s View File

@@ -1,6 +1,6 @@
1 1
 ;=============================================
2 2
 ;  Filename process.x
3
-;  Time Stamp Mon Jan  2 12:00:00 1995
3
+;
4 4
 ;
5 5
 ;  Base address 000000
6 6
 ;  Exec address 000000

Loading…
Cancel
Save