Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user EviL ! (Registered 2018-07-21) You are not logged in 
CSDb User Forums


Forums > CSDb Entries > Event id #2678 : The 128b font compo
2018-03-18 13:25
lft

Registered: Jul 2007
Posts: 355
Event id #2678 : The 128b font compo

Welcome to the 128b font compo!

The goal is to create the most legible, stylish, and/or awesome font using an executable program no larger than 128 bytes. The assumption is that the ROM font will be used as a basis somehow, although this is not a formal requirement.

The deadline is end of April 8, 2018, in a time zone of your choice.

The compo is held at CSDb, and the result is determined by the weighted average rating (including non-public votes). The ratings will be sampled one week after the deadline, end of April 15, in a time zone of my choice.

Judges are asked to consider screen codes 00-3f only. This comprises the uppercase letters, digits, and punctuation. The rules do not mandate that reverse-video characters work, so it is all right if the cursor doesn't work properly.

I reserve the right to modify the rules if there is a good reason.

Technical requirements

Maximum file size including load address is 128 bytes.

The program must load to the default location ($801), and must be executable with RUN. The new font should be installed at address $3800, after which the program should return to the BASIC prompt, with the VIC bank register ($d018) updated to point to the new font.

The entry should be uploaded in .prg format.

A person may be creatively involved in at most two (2) compo entries. (Idea/test/help credits don't count towards the limit.) It's alright to withdraw an earlier entry in order to submit a new one, up to the deadline.

Template

The following template code is offered as a convenience, and may be used as a starting point. It simply copies the default ROM font.

  
        .word   $801

        *=$801
        
        .word   $80b,1
        .byt    $9e,"2061",0,0,0

        sei
        lda     #$33
        sta     1
        
        ldx     #0
        ldy     #2
loop
src     
        lda     $d000,x

        ; ...
dest    
        sta     $3800,x
        inx
        bne     loop

        inc     src+2
        inc     dest+2
        dey
        bne     loop

        lda     #$37
        sta     1
        
        lda     #$1e
        sta     $d018

        cli
        rts


Happy hacking!
 
... 70 posts hidden. Click here to view all posts....
 
2018-03-22 14:40
Oswald

Registered: Apr 2002
Posts: 4266
I think it could be argued that your entry doesnt return to basic prompt, but keeps running :)

but cool idea nevertheless
2018-03-22 14:46
Mixer

Registered: Apr 2008
Posts: 264
@Oswald, indeed :) or, one could argue that the regular kernel irq just takes a bit longer than usual every time ;)
2018-03-22 18:17
Cruzer

Registered: Dec 2001
Posts: 959
Great compo so far. What a bunch of coders this brought out of the woodwork. :)
2018-03-22 18:59
Stone

Registered: Oct 2006
Posts: 124
I haven't had so much fun with a compo ever. It's probably a good thing we're limited to 2 entries because I was fast becoming obsessed with this last night :)

@lft: Any reason in particular the address $3800 was chosen?
2018-03-22 19:06
jamiefuller

Registered: Mar 2018
Posts: 19
I am loving this compo. I have further tweaked my code down to under 60 bytes. But I don't want to sacrifice either of my previous entries :)
2018-03-22 20:37
lft

Registered: Jul 2007
Posts: 355
Stone: The reason for $3800 was to leave maximum size for basic programs or directory listings, that could be handy for trying out the font. But this constraint has been relaxed now (in post #16).
2018-03-22 21:27
Stone

Registered: Oct 2006
Posts: 124
Quoting lft
Stone: The reason for $3800 was to leave maximum size for basic programs or directory listings, that could be handy for trying out the font. But this constraint has been relaxed now (in post #16).
Ok, I thought perhaps you had planned it as some sort of optimizational easter egg :P I have seen at least 2 people have had the same idea regarding this address :)
2018-03-24 00:10
Cruzer

Registered: Dec 2001
Posts: 959
Quoting Digger
@Carrion: Thinking of pixel smoothing? ;-)
With a 2x2 font? In 128b? Impossible!
2018-03-24 10:21
Mixer

Registered: Apr 2008
Posts: 264
Now that we are at 2x2 domain, or more than 8 bytes per char-domain, what about a dycp and rotator? Dycp seems is doable. I wonder if shear rotator can be fitted in 128b.
2018-03-24 21:30
Oswald

Registered: Apr 2002
Posts: 4266
that should be another compo, a 256byte one and do whatever you want would be nice.
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Isildur/Samar
The Dark Judge
soci/Singular
Joodas/Albion Crew
T.M.R/Cosine
Flavioweb/🇮🇹ASR/HF🇮🇹..
Stryyker/Tide
Mclane
Mike
oziphantom
ruk/Booze Design
Leon/Singular Crew /..
Guests online: 59
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 Coma Light 13  (9.6)
4 Comaland 100%  (9.6)
5 The Shores of Reflec..  (9.6)
6 Wonderland XII  (9.6)
7 Lunatico  (9.6)
8 We Come in Peace  (9.5)
9 Incoherent Nightmare  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 FMX Music Demo  (9.6)
2 Daah, Those Acid Pil..  (9.5)
3 Pandemoniac Part 2 o..  (9.5)
4 Treu Love [reu]  (9.5)
5 Merry Xmas 2017  (9.4)
6 Arok 20 Invitation  (9.4)
7 Dawnfall V1.1  (9.4)
8 Party Horse  (9.4)
9 In Memoriam BHF  (9.4)
10 Dawnfall  (9.4)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Finnish Gold  (9.4)
5 Crest  (9.3)
Top Graphicians
1 Razorback  (10)
2 Mirage  (9.8)
3 Archmage  (9.7)
4 JonEgg  (9.7)
5 DocJM  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2018
Page generated in: 0.067 sec.