This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| The book "EOR #$FF - 6502 Ponderables and Befuddlements" by David Youd, | |
| rearranged by Qalle (so each explanation is right after the puzzle). | |
| Downloaded from https://archive.org/details/eor6502 | |
| ------------------------------------------------------------------------------- | |
| EOR #$FF | |
| 6502 Ponderables and Befuddlements | |
| David Youd | |
| Lulu Press, Inc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| number | name | octave | note in octave | frequency (base 440Hz) | frequency (base 435Hz) | C64 manual frequency | PAL frequency | NTSC frequency | PAL frequency 435Hz | NTSC frequency 435Hz | MIDI note number | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | C | 0 | 0 | 16.351597831287414 | 16.165784219568238 | 268 | 278 | 268 | 275 | 265 | 24 | |
| 1 | C# | 0 | 1 | 17.323914436054505 | 17.12705177200843 | 284 | 295 | 284 | 292 | 281 | 25 | |
| 2 | D | 0 | 2 | 18.354047994837977 | 18.14547926762391 | 301 | 313 | 301 | 309 | 298 | 26 | |
| 3 | D# | 0 | 3 | 19.445436482630058 | 19.224465613509263 | 318 | 331 | 319 | 327 | 315 | 27 | |
| 4 | E | 0 | 4 | 20.601722307054366 | 20.367611826292386 | 337 | 351 | 338 | 347 | 334 | 28 | |
| 5 | F | 0 | 5 | 21.826764464562746 | 21.578733050192717 | 358 | 372 | 358 | 367 | 354 | 29 | |
| 6 | F# | 0 | 6 | 23.12465141947715 | 22.86187128971036 | 379 | 394 | 379 | 389 | 375 | 30 | |
| 7 | G | 0 | 7 | 24.499714748859326 | 24.22130889944047 | 401 | 417 | 402 | 412 | 397 | 31 | |
| 8 | G# | 0 | 8 | 25.956543598746574 | 25.661582876033545 | 425 | 442 | 426 | 437 | 421 | 32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Taken from http://rosettacode.org/wiki/BNF_Grammar | |
| ! ----------------------------------------------------------------------- | |
| ! Commodore PET BASIC | |
| ! | |
| ! Beginner's All-purpose Symbolic Instruction Code | |
| ! | |
| ! "It is practically impossible to teach good programming style to students | |
| ! that have had prior exposure to BASIC; as potential programmers they are | |
| ! mentally mutilated beyond hope of regeneration." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| =========================== | |
| SID FILE FORMAT DESCRIPTION | |
| =========================== | |
| AUTHORS: | |
| Michael Schwendt (PSID v1 and v2) | |
| Simon White (PSID v2NG, RSID) | |
| Dag Lem (PSID v2NG) | |
| Wilfred Bos (PSID v3, RSID v3, PSID v4, RSID v4) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <============= | |
| The C64 Digi | |
| =============> Robin Harbron <macbeth@psw.ca> | |
| Levente Harsfalvi <levente@terrasoft.hu> | |
| Stephen Judd <sjudd@ffd2.com> | |
| Introduction | |
| ------------ | |
| Digis -- digitally sampled audio -- are fairly common on the 64. This is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -/macro fio-dec system, june 1963 | |
| 007652 640500 szm=sza sma-szf | |
| 007652 650500 spq=szm i | |
| 007652 761200 clc=cma+cla-opr | |
| - define senseswitch A | |
| - repeat 3, A=A+A | |
| - szs A | |
| - term | |
| - define init A,B | |
| - law B |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/local/bin/python | |
| import math | |
| import Image | |
| # C64 color palette | |
| COLOR_BLACK = (0, 0, 0) | |
| COLOR_WHITE = (255, 255, 255) | |
| COLOR_RED = (104, 55, 43) |