Skip to content

Commit

Permalink
Simplify PIXELS macro and don't require padding to 7 pixels
Browse files Browse the repository at this point in the history
Both simplify the macro (iteration vs. recursion) and drop the padding
requirement, allowing pixmap strings to be the actual desired size
rather than padded out to a multiple of 7 characters.

No binary changes.
  • Loading branch information
inexorabletash committed Oct 3, 2023
1 parent ad997c3 commit 063f582
Show file tree
Hide file tree
Showing 11 changed files with 601 additions and 603 deletions.
176 changes: 88 additions & 88 deletions desk.acc/cd.remote.s
Original file line number Diff line number Diff line change
Expand Up @@ -147,108 +147,108 @@ reserved: .byte 0
;;; ============================================================

stop_bitmap:
PIXELS "..##############....."
PIXELS "..##############....."
PIXELS "..##############....."
PIXELS "..##############....."
PIXELS "..##############....."
PIXELS "..##############....."
PIXELS "..##############....."
PIXELS "..##############.."
PIXELS "..##############.."
PIXELS "..##############.."
PIXELS "..##############.."
PIXELS "..##############.."
PIXELS "..##############.."
PIXELS "..##############.."
pause_bitmap:
PIXELS "..#####....#####....."
PIXELS "..#####....#####....."
PIXELS "..#####....#####....."
PIXELS "..#####....#####....."
PIXELS "..#####....#####....."
PIXELS "..#####....#####....."
PIXELS "..#####....#####....."
PIXELS "..#####....#####.."
PIXELS "..#####....#####.."
PIXELS "..#####....#####.."
PIXELS "..#####....#####.."
PIXELS "..#####....#####.."
PIXELS "..#####....#####.."
PIXELS "..#####....#####.."
play_bitmap:
PIXELS "....##..............."
PIXELS "....#####............"
PIXELS "....########........."
PIXELS "....##########......."
PIXELS "....########........."
PIXELS "....#####............"
PIXELS "....##..............."
PIXELS "....##............"
PIXELS "....#####........."
PIXELS "....########......"
PIXELS "....##########...."
PIXELS "....########......"
PIXELS "....#####........."
PIXELS "....##............"
fwd_bitmap:
PIXELS ".##......##.........."
PIXELS ".####....####........"
PIXELS ".######..######......"
PIXELS ".################...."
PIXELS ".######..######......"
PIXELS ".####....####........"
PIXELS ".##......##.........."
PIXELS ".##......##......."
PIXELS ".####....####....."
PIXELS ".######..######..."
PIXELS ".################."
PIXELS ".######..######..."
PIXELS ".####....####....."
PIXELS ".##......##......."
next_bitmap:
PIXELS "##......##......##..."
PIXELS "####....####....##..."
PIXELS "######..######..##..."
PIXELS "##################..."
PIXELS "######..######..##..."
PIXELS "####....####....##..."
PIXELS "##......##......##..."
PIXELS "##......##......##"
PIXELS "####....####....##"
PIXELS "######..######..##"
PIXELS "##################"
PIXELS "######..######..##"
PIXELS "####....####....##"
PIXELS "##......##......##"
back_bitmap:
PIXELS ".......##......##...."
PIXELS ".....####....####...."
PIXELS "...######..######...."
PIXELS ".################...."
PIXELS "...######..######...."
PIXELS ".....####....####...."
PIXELS ".......##......##...."
PIXELS ".......##......##."
PIXELS ".....####....####."
PIXELS "...######..######."
PIXELS ".################."
PIXELS "...######..######."
PIXELS ".....####....####."
PIXELS ".......##......##."
prev_bitmap:
PIXELS "##......##......##..."
PIXELS "##....####....####..."
PIXELS "##..######..######..."
PIXELS "##################..."
PIXELS "##..######..######..."
PIXELS "##....####....####..."
PIXELS "##......##......##..."
PIXELS "##......##......##"
PIXELS "##....####....####"
PIXELS "##..######..######"
PIXELS "##################"
PIXELS "##..######..######"
PIXELS "##....####....####"
PIXELS "##......##......##"
eject_bitmap:
PIXELS "........##..........."
PIXELS "......######........."
PIXELS "....##########......."
PIXELS "..##############....."
PIXELS "....................."
PIXELS "..##############....."
PIXELS "..##############....."
PIXELS "........##........"
PIXELS "......######......"
PIXELS "....##########...."
PIXELS "..##############.."
PIXELS ".................."
PIXELS "..##############.."
PIXELS "..##############.."
shuffle_bitmap:
PIXELS "..............##....."
PIXELS "#####......#######..."
PIXELS ".....##..##...##....."
PIXELS ".......##............"
PIXELS ".....##..##...##....."
PIXELS "#####......#######..."
PIXELS "..............##....."
PIXELS "..............##.."
PIXELS "#####......#######"
PIXELS ".....##..##...##.."
PIXELS ".......##........."
PIXELS ".....##..##...##.."
PIXELS "#####......#######"
PIXELS "..............##.."
loop_bitmap:
PIXELS "...........##........"
PIXELS ".##############......"
PIXELS "##.........##...##..."
PIXELS "##..............##..."
PIXELS "##...##.........##..."
PIXELS "...##############...."
PIXELS ".....##.............."
PIXELS "...........##....."
PIXELS ".##############..."
PIXELS "##.........##...##"
PIXELS "##..............##"
PIXELS "##...##.........##"
PIXELS "...##############."
PIXELS ".....##..........."


;;; ============================================================

logo_bitmap:
PIXELS ".......#####..###.####.##.##.###..#..###.###....."
PIXELS ".......#...#..#...#..#.#.#.#.###.###.#....#......"
PIXELS ".......#...#..###.####.#...#.#...#.#.###..#......"
PIXELS ".......#...#....................................."
PIXELS ".#######...#..#####...#########...##########....."
PIXELS "#..........#..#...#..#........#..#..........#...."
PIXELS "#...####...#..#...#..#........#..#...####...#...."
PIXELS "#...#..#...#..#...#..#...#####...#...#...####...."
PIXELS "#...#..#...#..#...#..#........#..#...#..........."
PIXELS "#...#..#...#..#...#..#........#..#...#..........."
PIXELS "#...#..#...#..#...#...#####...#..#...#...####...."
PIXELS "#...####...#..#...#..#........#..#...####...#...."
PIXELS "#..........#..#...#..#........#..#..........#...."
PIXELS ".###########..#####..#########....##########....."
PIXELS "................................................."
PIXELS "###..#.##...#.###..#..#.....#..#.#.###..#.###...."
PIXELS "#..#.#.#..#.#..#..###.#....###.#.#.#..#.#.#.#...."
PIXELS "###..#.####.#..#..#.#.###..#.#.###.###..#.###...."
PIXELS ".......#####..###.####.##.##.###..#..###.###."
PIXELS ".......#...#..#...#..#.#.#.#.###.###.#....#.."
PIXELS ".......#...#..###.####.#...#.#...#.#.###..#.."
PIXELS ".......#...#................................."
PIXELS ".#######...#..#####...#########...##########."
PIXELS "#..........#..#...#..#........#..#..........#"
PIXELS "#...####...#..#...#..#........#..#...####...#"
PIXELS "#...#..#...#..#...#..#...#####...#...#...####"
PIXELS "#...#..#...#..#...#..#........#..#...#......."
PIXELS "#...#..#...#..#...#..#........#..#...#......."
PIXELS "#...#..#...#..#...#...#####...#..#...#...####"
PIXELS "#...####...#..#...#..#........#..#...####...#"
PIXELS "#..........#..#...#..#........#..#..........#"
PIXELS ".###########..#####..#########....##########."
PIXELS "............................................."
PIXELS "###..#.##...#.###..#..#.....#..#.#.###..#.###"
PIXELS "#..#.#.#..#.#..#..###.#....###.#.#.#..#.#.#.#"
PIXELS "###..#.####.#..#..#.#.###..#.#.###.###..#.###"

.params logo_bitmap_params
DEFINE_POINT viewloc, kCol5-3, kRow1
Expand Down
Loading

0 comments on commit 063f582

Please sign in to comment.