jmechner
100755 91 lines (73 sloc) 1.782 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
* Ryellow1 (put this file!!!)

* This code sets the high bit of $7C in aux mem
* if signature is found on track zero.

* NOTE: make sure the x register has a number
* greater than 4 when calling YELLOW.

YELLrun = $AAAA

YELLOW
:0 sec
 rol
 clc
 rol
 dex
 bne :0
 sta 4

 jsr YELLsub
 jmp YELLnothing

*-------------------------------------------------

YELLcode
 hex 27A26A0C5717236A8AAD0603AA8A3401
 hex 03A02F9E0C5717246A03012F9D03E92F
 hex 9C032A2F9F6C9F5AF68AF8011AFD0F9B
 hex 63AD7A5B0AAA17266ABA51225AED637F
 hex 7A5E0AAA17266ABA51225A93634D7A5E
 hex 17266ABA51634D7A8617266ABA51634D
 hex 7A8917276A0ABA8EAC17266ABA51225A
 hex BE63447A5E0AAD17266ABA517B9C7AAF
 hex 22BA5E9AA9E696018AAD06374215DCF1
 hex B2CA6C9E5AA1E66100564444564D4456
 hex 4D8AAD06374215CA0A572E92627AAE4C
 hex 925A9717266ABA51637F7A5A4017266A
 hex BA5163007A580AA917266ABA51633C7A
 hex 4D03AA2F9317266ABA51802F9217266A
 hex BA518F92339AAAEF9322BA4D0240B2CA
 hex 92CA03AE27620E6F555AFC03AA27670E
 hex 0F55276F0E9247620E5A9F1AACE3554C
 hex 553AAEC3546C5567670E3AA907670E63
 hex A61AAB02928A440113B3068A5601076F
 hex 0EB28A5A01138F068A560144670E7A6A
 hex 8A5601B20F5583A980AF5700172A6A0C
 hex 57CA08B8607A579243AB7A5CCA08AA16
 hex 0E0E1F9A3E9A370E0E424A8B7A5BCAAB
 hex 9A828E8AB4B7B6B6B6B6B6DA868C88B5
 hex B4B7B6B6B6B6B655A9

*-------------------------------------------------

YELLlen = *-YELLcode

* Routine to decode code

 hex 20 ;jsr

YELLsub sta 5
 ldy #0
:0 lda YELLcode,y
 eor 4
 sta (4),y
 inc 5
 lda YELLcode+256,y
 eor 4
 sta (4),y
 dec 5
 iny
 bne :0
 lda 4
 eor #$4C!$AA ;jmp instruction
 sta 3
 jmp 3

*-------------------------------------------------

 hex a9 ;lda #imm

YELLnothing ldy #0
 inc 5
:0 tya
:1 sta (4),y
 iny
 bne :1
 rts


*------------------------------------------------- EOF

Markdown Cheat Sheet

Format Text

Headers

# This is an <h1> tag
## This is an <h2> tag
###### This is an <h6> tag

Text styles

*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__

*You **can** combine them*

Lists

Unordered

* Item 1
* Item 2
  * Item 2a
  * Item 2b

Ordered

1. Item 1
2. Item 2
3. Item 3
   * Item 3a
   * Item 3b

Miscellaneous

Images

![GitHub Logo](/images/logo.png)
Format: ![Alt Text](url)

Links

http://github.com - automatic!
[GitHub](http://github.com)

Blockquotes

As Kanye West said:

> We're living the future so
> the present is our past.

Code Examples in Markdown

Syntax highlighting with GFM

```javascript
function fancyAlert(arg) {
  if(arg) {
    $.facebox({div:'#foo'})
  }
}
```

Or, indent your code 4 spaces

Here is a Python code example
without syntax highlighting:

    def foo:
      if not bar:
        return true

Inline code for comments

I think you should use an
`<addr>` element here instead.

Something went wrong with that request. Please try again. Dismiss

Looking for the GitHub logo?