annotate lib/dragon.as @ 2981:9550602c9a0b

sierra/objs_lsl/mnln.asm: Use division quotient, not remainder It calls a routine twice to make a division (L125C) but doesn't check the right register for the result. The result is returned in reg U and the remainder in reg D but the procedure expect the result to be returned in reg D. The divison routine seems to be correct because it is properly used elsewhere in the code. Patch by Guillaume Major and Robert Gault.
author Guillaume Major <guillaume.major@gmail.com>
date Sat, 12 Apr 2014 15:30:03 +0200
parents 3b7b5021f8bc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2807
3b7b5021f8bc Cosmetic
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2803
diff changeset
1 section _constant
2803
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
2
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
3 DRAGON equ 1
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
4 Level equ 1
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
5 H6309 equ 0
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
6
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
7 use ../defs/os9.d
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
8 use ../defs/rbf.d
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
9 use ../defs/scf.d
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
10 use ../defs/pipe.d
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
11 use ../defs/drivewire.d
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
12 use ../defs/dragon.d
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
13 use ../defs/cocovtio.d
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
14
d911fcfc0211 Further refinements
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
15 endsect