Dear visitor, welcome to Forum64. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
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 |
Kategorie Größe
01.) peiselulli fizzbuzz_dirty 53 Bytes
02.) skoe fb-skoe 64 Bytes
03.) Colt Seavers shortbuzz 82 Bytes
04.) DirkVroomen buzzfizz-24.bas 84 Bytes
05.) enthusi asm05 89 Bytes
06.) The Joker tj-fizz1 95 Bytes
07.) Unseen fizzbuzz5 96 Bytes
08.) drazil fizzbuzz083 97 Bytes
hobbycoder fizzbuzz-basic2 97 Bytes
09.) neuRomancer fizzbuzzasm 108 Bytes
10.) JMP$FCE2 fizzbuzz.bas 111 Bytes
11.) Robert robert 123 Bytes
12.) Soulstealer fizzbuzz ! 124 Bytes
13.) The Ryk fizz 446 Bytes
Kategorie Geschwindigkeit
01.) peiselulli fizzbuzz_fast TI($A2): 00
02.) The Joker tj-fizz3 TI($A2): 01
03.) TheRyk fizz TI($A2): 01
[ robert robert Pi*Daumen ]
04.) Soulstealer fizzbuzz ! TI($A2): 09
05.) neuRomancer fizzbuzzasm TI($A2): 21
06.) JMP$FCE2 fizzbuzz.asm TI($A2): 23
07.) enthusi asm05 TI($A2): 25
[ skoe fb-skoe Pi*Daumen ]
08.) Colt Seavers shortbuzz TI($A2): 2F
09.) Unseen fizzfast1 TI($A2): 34
10.) drazil fizzbuzz083 TI($A2): 36
11.) DirkVroomen buzzfizz-24.bas TI($A2): 43
12.) hobbycoder fizzbuzz-basic2 TI($A2): A1
|
Ach so. Was wurde denn aus asm01 ?
Hast Du bankswitch-Varianten rausgeworfen.
Quoted
Ich hege Zweifel and der TI-Methode.
Sehr SEI-Abhaengig :)
Quoted
Zu Robert wollte ich noch schreiben, dass es KEINE Kernal-calls verwendet :)
Leute, was fresst ihr fürn Zeug um auf solche Lösungen zu kommen?
Danke auch an Spider-Jerusalem für die nette Idee der Compo.
|
|
Source code |
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 |
!to "fizzbuzz_dirty.prg",cbm
!cpu 6510
*= $0801
!by $0a,$08,$00,$00,$9e,$32,$30,$36,$39,$0
loop:
cpx #$00
bne no_line_number
jsr $bdc9 ; print out current basic line
no_line_number:
jsr $e6b6 ; curser go right
entry:
inc $39 ;increment line number
endless:
bmi endless ;endless loop if >= 128
lsr $0f
bcc no_fizz
ldy #$00
ldx #$04
stx $0f
print_string:
stx $b7
jsr $f5c7 ;print out part of the filename
no_fizz:
asl $30
bcc loop
ldy #$04
ldx #$08
sty $30
bne print_string
|

Den schellsten habe ich gerade nicht hier, der ist aber auch zu trivial ...
The Joker ist einen Platz vor TheRyk, weil sein Programm 2 Bytes kürzer ist. Wenn man Zyklen zählen würde, wäre es noch eindeutiger, weil dort eine Schleife weniger benutzt wurde.
Tja, wäre mir klar gewesen dass kein RTS notwendig ist, hätte ich nur noch irgendwo 1 byte sparen müssen... aber wo...
Nur 1 Schleife? Da würde ich ja gern den Code mal sehen, um zu checken, ob WIRKLICH von links oben nach rechts unten geschrieben wird...![]()
Sourcecodes sind alle in dem Archiv mit drin. Aber die Reihenfolge war doch wurscht, so lange es am Ende korrekt angezeigt wird.
Egal, dann bin ich halt der Langsamste, das muss man auch erstmal hinkriegen!
Forum Software: Burning Board® 3.1.7, developed by WoltLab® GmbH