www.eamoncaddigan.net

Content and configuration for https://www.eamoncaddigan.net
git clone https://git.eamoncaddigan.net/www.eamoncaddigan.net.git
Log | Files | Refs | Submodules | README

index.md (895B)


      1 ---
      2 title: "2023, Day 4"
      3 date: 2023-12-04T20:30:42-08:00
      4 draft: false
      5 ---
      6 
      7 Only had about 20 minutes of downtime this evening, but here's a command to dump
      8 the .icn data for the printable ASCII characters in a .uf1 file (a few can be
      9 found in the [uxn
     10 repository](https://git.sr.ht/~rabbits/uxn/tree/main/item/projects/fonts)).
     11 
     12     od --format=x2 --endian=big --output-duplicates --address-radix=n --width=8 \
     13     --skip-bytes=512 --read-bytes=768 bbcmicro8.uf1
     14 
     15 Here's the first eight lines of output, corresponding to 0x20 (the space
     16 character) through 0x27 (the single quote).
     17 
     18      0000 0000 0000 0000
     19      1818 1818 1800 1800
     20      6c6c 6c00 0000 0000
     21      3636 7f36 7f36 3600
     22      0c3f 683e 0b7e 1800
     23      6066 0c18 3066 0600
     24      386c 6c38 6d66 3b00
     25      0c18 3000 0000 0000
     26 
     27 I almost forgot to set the endianness, and I won't be sure this is right until I
     28 actually draw some characters.