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


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

Registered: Jul 2007
Posts: 369
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-19 08:09
lft

Registered: Jul 2007
Posts: 369
Cruzer, Jammer: I'm afraid that would disqualify the entries. It wouldn't be fair towards those who make design sacrifices in order to stick to the rules.

Of course, you can still display your work as an out-of-compo release.
2018-03-19 08:45
Cruzer

Registered: Dec 2001
Posts: 1048
I could easily exit to Basic if I didn't display the font, but since it's 2x1 characters, it would be hard to see what it was supposed to look like. But I guess I could compete with a version that exited and then include the other one in the zip file.
2018-03-19 10:37
Oswald

Registered: Apr 2002
Posts: 5086
limiting the nr of releases is silly.
2018-03-19 11:26
Jammer

Registered: Nov 2002
Posts: 1335
Quoting lft
Cruzer, Jammer: I'm afraid that would disqualify the entries. It wouldn't be fair towards those who make design sacrifices in order to stick to the rules.

Of course, you can still display your work as an out-of-compo release.


I see but what's the point in placing new charset exactly at specified $3800 and hence truncating lower case in target bank? I process entirely two charsets (you can still switch upper/lower case), fit easily within the routine size limit and return to BASIC prompt in proper manner. No idea what kind of design sacrifice you mean, compared to my solution - care to explain? Thanks! ;)
2018-03-19 12:52
lft

Registered: Jul 2007
Posts: 369
Hmm! Ok Jammer, that's a reasonable point. From now on, any bank in the range 2000-3fff is allowed. This still disallows stack/zp trickery, while allowing entries to support both uppercase and lowercase. But judges can only be expected to look at the bank that is active when the program exits.

Oswald, I'm still thinking about this. It's easier for me to be overly restrictive at first, and then potentially remove the limit. The purpose of the limit is to keep the total number of releases down, to increase the probability that people actually look at all entries and rate them fairly.

What's everybody's opinion on this?
2018-03-19 12:56
Scan

Registered: Dec 2015
Posts: 111
Using zp pointers to copy is disallowed? Darn, back to the drawing board...
2018-03-19 12:58
lft

Registered: Jul 2007
Posts: 369
Of course you can use the zeropage! But you can't store the final font there.
2018-03-19 13:01
Scan

Registered: Dec 2015
Posts: 111
Quote: Of course you can use the zeropage! But you can't store the final font there.

*phew* That's a relief :)
2018-03-19 13:02
Jammer

Registered: Nov 2002
Posts: 1335
Quoting Scan
Using zp pointers to copy is disallowed? Darn, back to the drawing board...

I've used $fe/$ff to store and retrieve A/Y


Quoting lft
Of course you can use the zeropage! But you can't store the final font there.

Phew! :D
2018-03-19 14:55
TheRyk

Registered: Mar 2009
Posts: 2218
Already the snippets posted in the other fred were cool, making it a compo is a wonderful idea.

A lot of brilliant stuff so far, dudes!
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 - 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
Frostbyte/Artline De..
MWR/Visdom
Mr SQL
Alakran_64
csabanw
Jetboy/Elysium
RS-232
Skate/Plush
Guests online: 123
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 The Demo Coder  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Comaland 100%  (9.6)
10 What Is The Matrix 2  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.041 sec.