home *** CD-ROM | disk | FTP | other *** search
-
- xdef _main
- xdef _comment
- include "flib.h"
- include "hexlib.h"
-
- ;************** Start of Fargo program **************
-
- _main:
-
- jsr flib::clr_scr
-
- move.w #$0700,d0
- trap #1
- move.l $64,old_int_1
- bclr.b #2,$600001
- move.l #int_1,$64
- bset.b #2,$600001
- trap #1
-
- move.l #$7,d0
- move.l #0,d6
- GO1:
- move.l #$EA00,d1
-
- GO2:
- ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> place your code here
-
- ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- dbra d1,GO2
- dbra d0,GO1
-
- move.w #$0700,d0
- trap #1
- bclr.b #2,$600001
- move.l old_int_1,$64
- bset.b #2,$600001
- trap #1
-
- move.l d6,d0
- sub.l #$B8,d0 ;>>>>>>>>>> change this value by adding the one you see
- move.l #1,d1 ;when the 'code' is empty
- move.l #1,d2
- move.l #7,d4
- jsr hexlib::put_hex
-
- jsr flib::idle_loop
-
- rts
-
- ;*****************************************************
-
- int_1:
- addq #1,d6
-
- rte
-
- ;*****************************************************
-
-
- ;****************************************************
- old_int_1 dc.l 0
- _comment:
- dc.b "Jerbom's Code Tester v1.0",0
- ;************** End of Fargo program ****************
-
-
- end