jmechner April 17, 2012
Attempted line ending fix

0 contributors

## Users on GitHub who have contributed to this file

100755 175 lines (130 sloc) 2.179 kb

- Edit this file
- Raw
- Blame
- History

    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
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
     lst off
    *------------------------------------------------- rotcube
    mainYoffset = 46 ;(192-60)/2botYoffset = 72mainXoffset = 68 ;(280-144)/2
    color = $E4page = $E6
     dum 0index ds 1ysave ds 1yadd ds 1yoffset ds 1 dend
    *-------------------------------------------------
    rotcube jsr $f3e2 ;hgr jsr $f3d8 ;hgr2
     lda #1 sta yadd
     sta yoffset
    * Draw on page not showing:
    mainloop lda page eor #$60 sta page ldx #$7F jsr draw
    * If not a //c, then wait for vbl
     lda $FBC0 beq :is2c lda $C019 bpl *-3 lda $C019 bmi *-3:is2c
    * Now display that page
     bit $C054 lda page cmp #$20 beq *+5 bit $C055
    * Now erase old image from last page
     eor #$60 sta :smc0+2 sta :smc1+2 ldx #$20 lda #0:loop tay:smc0 sta $2000,y:smc1 sta $2080,y iny bpl :smc0 inc :smc0+2 inc :smc1+2 dex bne :loop
     inc index jmp mainloop
    *-------------------------------------------------
    draw stx color
     ldy #12-1:drawloop lda drawlist,y sty ysave
     pha and #15 jsr getpoint
     tax tya ldy #0 jsr $f457 ;plot
     pla lsr lsr lsr lsr jsr getpoint ldx #0 jsr $f53a ;lineto
     ldy ysave dey bpl :drawloop
     lda yoffset clc adc yadd bne :not0
     inc yadd ;make +1 inc yadd
    :not0 cmp #191-48-botYoffset bcc :0
     dec yadd ;make -1 dec yadd
    :0 sta yoffset rts
    *-------------------------------------------------** given a = point number, return a = xcoor, y = ycoor*
    getpoint tay
    * Get index into tables
     asl ;*16 asl asl asl adc index and #$3F tax tya
     and #4 ;bottom? cmp #4
    * Compute ycoor
     lda ydata,x bcc :not_bot adc #botYoffset-1
    :not_bot adc yoffset tay
    * Compute xcoor
     lda xdata,x adc #mainXoffset rts
    *-------------------------------------------------
    drawlist hex 01122330 ;draw top hex 45566774 ;draw bottom hex 04152637 ;draw connecting lines
    xdata hex 908F8E8C8A87837F7A757069635C564F hex 484039332C261F1A15100C0805030100 hex 0000010305080C10151A1F262C333940 hex 474F565C636970757A7F83878A8C8E8F
    ydata hex 181A1C1E21232527282A2B2D2E2E2F2F hex 2F2F2F2E2E2D2B2A28272523211E1C1A hex 181513110E0C0A080705040201010000 hex 000000010102040507080A0C0E111315
    *-------------------------------------------------

## Keyboard Shortcuts (see all)

### Site wide shortcuts

s
  Focus site search

?
  Bring up this help dialog

### Commit list

j
  Move selection down

k
  Move selection up

c or o or enter
  Open commit

y
  Expand URL to its canonical form

### Pull request list

j
  Move selection down

k
  Move selection up

o or enter
  Open issue

⌘ctrl + enter
  Submit comment

### Issues

j
  Move selection down

k
  Move selection up

x
  Toggle selection

o or enter
  Open issue

⌘ctrl + enter
  Submit comment

I
  Mark selection as read

U
  Mark selection as unread

y
  Remove selection from view

c
  Create issue

l
  Create label

i
  Back to inbox

u
  Back to issues

/
  Focus issues search

### Issues Dashboard

j
  Move selection down

k
  Move selection up

o or enter
  Open issue

### Network Graph

← or h
  Scroll left

→ or l
  Scroll right

↑ or k
  Scroll up

↓ or j
  Scroll down

t
  Toggle visibility of head labels

shift ← or shift h
  Scroll all the way left

shift → or shift l
  Scroll all the way right

shift ↑ or shift k
  Scroll all the way up

shift ↓ or shift j
  Scroll all the way down

### Source Code Browsing

t
  Activates the file finder

l
  Jump to line

w
  Switch branch/tag

y
  Expand URL to its canonical form

### Browsing Commits

⌘ctrl + enter
  Submit comment

escape
  Close form

## 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?

- #### GitHub Logo

  Download

- #### The Octocat

  Download