Skip to content

Commit

Permalink
Fixed to check device 0, and cosmetic details
Browse files Browse the repository at this point in the history
  • Loading branch information
Zardoz89 committed May 13, 2012
1 parent 59e863c commit daade20
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
14 changes: 8 additions & 6 deletions tester.dasm
@@ -1,4 +1,4 @@
; This is tester for emulatros
; This tester 1 for emulatros

; set and literals
set a, 1
Expand Down Expand Up @@ -63,8 +63,8 @@ sbx a, x
; A must be 0x0FFF

; STI and STD test
set i, 0x800
set j, 0x801
set i, datos
set j, datos +1

sti [j], [i]
sti [j], [i]
Expand Down Expand Up @@ -112,7 +112,8 @@ set pc, crash
; Other stuff
hwn a
ifg a, 0
hwq 1
sub a, 1
hwq a

:crash
set pc, crash
Expand All @@ -121,5 +122,6 @@ set pc, crash
set z, 0xBEBE
set pc, pop

org 0x800
dat 0xcafe
org 0x300
:str dat "Hello world"
:datos dat 0xcafe
21 changes: 12 additions & 9 deletions tester.hex
@@ -1,15 +1,18 @@
; testeer 1 for emulators
0x0000: 8801 8c21 9041 9461 7c81 0040 80a1 7c02
0x0008: 0200 8803 00e2 00e3 14e3 14e4 ace1 0ce4
0x0010: 0484 0c06 8c48 ace1 14e5 04e7 90e9 7caa
0x0018: aa95 7cab 00ff 7caa 5595 7cac aa95 7ca1
0x0020: 00f1 94ad 94af 7ca1 ff80 94ae 7c01 0fff
0x0028: 7c21 ff0f 7c61 0111 7c81 1111 1022 0c1a
0x0030: 1023 0c1b 7cc1 0800 7ce1 0801 39fe 39fe
0x0038: 3ddf 7f01 cafe 7c20 006d 6081 7ff0 0055
0x0040: 00aa 7f81 006b 7ff1 005a 00aa 7f81 006b
0x0048: 1412 7f81 006b 0013 7f81 006b 7ff4 ea60
0x0050: 0001 7f81 006b 8bf5 ff80 7f81 006b 8bf6
0x0058: ea60 7f81 006b 7ff7 ff80 0001 7f81 006b
0x0060: 7ff7 ff80 0001 0012 8bf4 000a 7f81 006b
0x0068: 0200 8414 8a20 7f81 006b 7ca1 bebe 6381
0x0800: cafe 0000
0x0030: 1023 0c1b 7cc1 030b 7ce1 030c 39fe 39fe
0x0038: 3ddf 7f01 cafe 7c20 006e 6081 7ff0 0055
0x0040: 00aa 7f81 006c 7ff1 005a 00aa 7f81 006c
0x0048: 1412 7f81 006c 0013 7f81 006c 7ff4 ea60
0x0050: 0001 7f81 006c 8bf5 ff80 7f81 006c 8bf6
0x0058: ea60 7f81 006c 7ff7 ff80 0001 7f81 006c
0x0060: 7ff7 ff80 0001 0012 8bf4 000a 7f81 006c
0x0068: 0200 8414 8803 0220 7f81 006c 7ca1 bebe
0x0070: 6381
0x0300: 0048 0065 006c 006c 006f 0020 0077 006f
0x0308: 0072 006c 0064 cafe

0 comments on commit daade20

Please sign in to comment.