chiark / gitweb /
trick linker into slightly more optimal placement
authorian <ian>
Wed, 28 Dec 2005 03:37:41 +0000 (03:37 +0000)
committerian <ian>
Wed, 28 Dec 2005 03:37:41 +0000 (03:37 +0000)
detpic/points.asm
detpic/vectors.asm

index 4ca39087fda7a7cac44d455d29e08a5a715ffa00..af3979af8762b530f1c434f4d32757530e9ed8e1 100644 (file)
@@ -68,7 +68,7 @@ point_local_do
 point_clash
        panic   morse_PB
 
- code
+points_section code
 ;----------------------------------------
 points_local_intrl
        bt_f_if0 PIR2, TMR3IF
index bebb5516025d38ab20d2c7c5e950d82ac94d1720..4415ff039aa66caee778161edd8eeb2cac8dc553 100644 (file)
 
 ;======================================================================
 
+triplinker_size equ 0x0a00
+; these seem to trick the linker's rather simple algorithm
+; into tesselating the code into only the first part of each code
+; page, which should speed up programming
+
+triplinker1 org 0x0000 + triplinker_size - 2
+       nop
+triplinker2 org 0x2000 + triplinker_size - 2
+       nop
+
        include final.inc