AI-Assisted-C128-Custom-Fonts --------------------------------------------------------------------------------------------------- TOOL: CHATGPT - ONLINE Language: Words, English Extra: none Author: Misel Zivanovic Note: (C) 18th of NOVEMBER 2026 - www.lived.ch, mzretro.ch Doc Revision: 1.0 Last update: 17:42 18.11.2026 --------------------------------------------------------------------------------------------------- First request for the ChatGPT: BANK 15 to set the bank. Commodore C128 Small characters for the source code, all text and strings in general. Copy ROM characters to $3000 and set as default. Define new character set. RESULT: 10 BANK 15 20 FOR I=0 TO 4095 30 BANK 14 40 A=PEEK(53248+I) 50 BANK 15 60 POKE 12288+I,A 70 NEXT I 80 REM SELECT LOWERCASE CHARACTER SET 90 POKE 2604,(PEEK(2604) AND 240) OR 14 100 END And that's it! This is nothing doing exactly that! NOTHING! Looks like we have to ask one more time to get the job done! And you notice here how i wrote "Small characters for the source code..." and NOT "Use small..." Prompt you don't get what you need! --------------------------------------------------------------------------------------------------- Additional request: offer new character set RESULT: 10 BANK 15 20 REM CUSTOM CHARACTER AT $3000 30 REM CHARACTER 1 - SOLID SMILE 40 FOR I=0 TO 7 50 READ A 60 POKE 12296+I,A 70 NEXT I 80 DATA 60,66,165,129,165,153,66,60 90 REM SELECT CUSTOM CHARACTER SET 100 POKE 53272,(PEEK(53272) AND 240) OR 12 110 END Well, this will change the first character to SMILE GUY, but you will not see it because this POKE 53272 is doing nothing when it is used with Commodore C128! NOT GIVING UP YET, RIGHT! Hehe.... --------------------------------------------------------------------------------------------------- Additional request: create a complete new 256-character font RESULT: [ It actually looks pretty cool, but you notice then: 256-character font = 2048 bytes, not 4096.] [ We will definitely ran out of DATA if we do the 4096 BYTES loop ] [ Then what the heck is this again? poke 53272,(peek(53272) and 240) or 12 ] [ It will do nothing here! It is a C64 thing, not C128 ] [ And then, until 4096 would be 512 character font loaded, not 256 ] [ This part of the code need some changes and it was changed in the full listing below ] 10 bank 15 20 rem load 256-character 8x8 font into $3000 30 rem 4096 bytes; character n starts at $3000+8*n 40 for i=0 to 4095 50 read a:poke 12288+i,a 60 next i 70 rem select vic character set at $3000 80 poke 53272,(peek(53272) and 240) or 12 90 print "custom 256-character font loaded" 100 end FULL LISTING: C128-Custom Character-Set --------------------------------------------------------------------------------------------------- Now this will work, but the font offered is from the "I have no idea where"! It definitely has nothing to do with the Commodore C128 and also not Commodore C64. Check image #1 to see what this code below is producing! A total mess so do not forget to type POKE 2604,20 to go back! 10 bank 15 20 rem load 256-character 8x8 font into $3000 30 rem 2048 bytes; character n starts at $3000 40 for i=0 to 2047 50 read a:poke 12288+i,a 60 next i 70 rem select vic character set at $3000 80 poke 2604,28 (old font: poke 2604,20) 90 print "custom 256-character font loaded" 100 end 1000 data 0,0,0,24,24,0,0,0,0,0,24,60,60,24,0,0 1010 data 0,24,60,126,126,60,24,0,0,0,0,126,126,0,0,0 1020 data 0,0,24,24,24,24,0,0,0,0,0,0,126,0,0,0 1030 data 0,0,0,126,0,0,0,0,0,0,24,60,126,0,0,0 1040 data 0,0,126,60,24,0,0,0,0,24,24,126,24,24,0,0 1050 data 0,0,36,126,36,0,0,0,0,0,60,66,66,60,0,0 1060 data 0,0,60,90,90,60,0,0,0,0,24,60,60,24,0,0 1070 data 0,0,126,66,66,126,0,0,0,0,126,90,90,126,0,0 1080 data 0,0,24,60,126,60,24,0,0,0,24,60,90,24,0,0 1090 data 0,0,24,60,126,90,24,0,0,0,24,60,126,60,24,0 1100 data 0,0,66,36,24,36,66,0,0,0,24,36,66,36,24,0 1110 data 0,0,0,24,60,24,0,0,0,0,0,60,60,0,0,0 1120 data 0,0,24,24,0,24,24,0,0,0,0,0,0,24,24,0 1130 data 0,0,0,0,24,24,0,0,0,0,0,24,24,0,0,0 1140 data 0,0,0,60,66,60,0,0,0,0,60,66,90,66,60,0 1150 data 0,0,126,66,90,66,126,0,0,0,0,0,0,0,0,0 1160 data 0,0,0,0,0,0,0,0,0,16,16,16,16,0,16,0 1170 data 0,40,40,0,0,0,0,0,24,40,124,40,124,48,80,0 1180 data 16,124,80,56,20,124,16,0,0,112,80,120,60,20,28,0 1190 data 0,28,16,24,44,40,28,0,0,16,16,0,0,0,0,0 1200 data 8,16,16,16,16,16,8,0,32,16,16,16,16,16,32,0 1210 data 0,84,56,56,84,0,0,0,0,16,16,124,16,16,0,0 1220 data 0,0,0,16,16,0,0,0,0,0,48,0,0,0,0,0 1230 data 0,0,0,16,0,0,0,0,8,16,16,48,32,32,64,0 1240 data 0,24,36,52,36,36,24,0,0,48,16,16,16,16,56,0 1250 data 0,56,4,4,8,16,60,0,0,56,4,4,24,4,60,0 1260 data 0,8,24,24,40,60,8,0,0,60,32,56,4,4,56,0 1270 data 0,28,48,32,60,36,28,0,0,60,4,8,8,8,16,0 1280 data 0,24,36,36,24,36,60,0,0,56,36,60,4,12,56,0 1290 data 0,0,16,0,0,16,0,0,0,16,0,0,16,16,0,0 1300 data 0,0,4,56,48,12,0,0,0,0,120,0,120,0,0,0 1310 data 0,0,32,28,12,48,0,0,0,56,24,16,16,0,16,0 1320 data 0,24,36,44,44,32,24,0,0,24,24,24,24,60,36,0 1330 data 0,56,36,36,56,36,60,0,0,28,32,32,32,32,28,0 1340 data 0,56,36,36,36,36,56,0,0,60,32,32,60,32,60,0 1350 data 0,60,32,32,60,32,32,0,0,28,32,32,44,36,28,0 1360 data 0,36,36,36,60,36,36,0,0,56,16,16,16,16,56,0 1370 data 0,24,8,8,8,8,56,0,0,36,40,48,40,40,36,0 1380 data 0,32,32,32,32,32,60,0,0,36,60,60,60,36,36,0 1390 data 0,36,52,52,44,44,36,0,0,24,36,36,36,36,24,0 1400 data 0,60,36,60,32,32,32,0,24,36,36,36,36,24,4,0 1410 data 0,60,36,56,44,36,34,0,0,28,32,56,12,4,60,0 1420 data 0,124,16,16,16,16,16,0,0,36,36,36,36,36,24,0 1430 data 0,36,36,24,24,24,24,0,0,68,68,84,40,40,40,0 1440 data 0,36,24,24,24,24,36,0,0,68,40,16,16,16,16,0 1450 data 0,60,8,8,16,16,60,0,24,16,16,16,16,16,24,0 1460 data 64,32,32,48,16,16,8,0,48,16,16,16,16,16,48,0 1470 data 0,48,72,0,0,0,0,0,0,0,0,0,124,0,0,0 1480 data 0,32,0,0,0,0,0,0,0,0,60,60,36,60,0,0 1490 data 32,32,32,56,36,36,56,0,0,0,24,32,32,24,0,0 1500 data 4,4,4,28,36,36,28,0,0,0,28,60,32,28,0,0 1510 data 12,16,16,60,16,16,16,0,0,28,36,36,28,4,56,0 1520 data 32,32,32,60,36,36,36,0,16,0,0,48,16,16,56,0 1530 data 0,0,48,16,16,16,16,112,32,32,32,44,56,56,44,0 1540 data 48,16,16,16,16,16,28,0,0,0,62,42,42,42,0,0 1550 data 0,0,60,36,36,36,0,0,0,0,24,36,36,24,0,0 1560 data 0,56,36,36,56,32,32,0,0,28,36,36,28,4,4,0 1570 data 0,0,56,32,32,32,0,0,0,0,60,56,4,60,0,0 1580 data 0,16,60,16,16,28,0,0,0,0,36,36,36,60,0,0 1590 data 0,0,36,24,24,24,0,0,0,0,68,84,56,40,0,0 1600 data 0,0,60,24,24,60,0,0,0,36,24,24,16,16,48,0 1610 data 0,0,60,24,16,60,0,0,24,16,16,32,16,16,24,0 1620 data 16,16,16,16,16,16,16,16,48,16,16,8,16,16,48,0 1630 data 0,0,60,0,0,0,0,0,129,66,36,24,24,36,66,129 1640 data 0,0,0,24,24,0,0,0,0,0,24,60,60,24,0,0 1650 data 0,24,60,126,126,60,24,0,0,0,0,126,126,0,0,0 1660 data 0,0,24,24,24,24,0,0,0,0,0,0,126,0,0,0 1670 data 0,0,0,126,0,0,0,0,0,0,24,60,126,0,0,0 1680 data 0,0,126,60,24,0,0,0,0,24,24,126,24,24,0,0 1690 data 0,0,36,126,36,0,0,0,0,0,60,66,66,60,0,0 1700 data 0,0,60,90,90,60,0,0,0,0,24,60,60,24,0,0 1710 data 0,0,126,66,66,126,0,0,0,0,126,90,90,126,0,0 1720 data 0,0,24,60,126,60,24,0,0,0,24,60,90,24,0,0 1730 data 0,0,24,60,126,90,24,0,0,0,24,60,126,60,24,0 1740 data 0,0,66,36,24,36,66,0,0,0,24,36,66,36,24,0 1750 data 0,0,0,24,60,24,0,0,0,0,0,60,60,0,0,0 1760 data 0,0,24,24,0,24,24,0,0,0,0,0,0,24,24,0 1770 data 0,0,0,0,24,24,0,0,0,0,0,24,24,0,0,0 1780 data 0,0,0,60,66,60,0,0,0,0,60,66,90,66,60,0 1790 data 0,0,126,66,90,66,126,0,0,0,0,0,0,0,0,0 1800 data 0,0,0,0,0,0,0,0,0,16,0,16,16,16,16,0 1810 data 0,16,56,48,48,56,16,0,0,56,32,32,112,32,120,0 1820 data 0,0,56,40,56,0,0,0,0,68,40,108,16,124,16,0 1830 data 16,16,16,0,16,16,16,0,56,32,48,40,24,8,56,0 1840 data 0,40,0,0,0,0,0,0,0,56,92,92,68,56,0,0 1850 data 0,56,56,56,0,56,0,0,0,0,40,80,80,40,0,0 1860 data 0,0,60,4,0,0,0,0,0,56,24,16,16,0,16,0 1870 data 0,56,92,92,68,56,0,0,0,48,0,0,0,0,0,0 1880 data 0,48,48,0,0,0,0,0,0,0,16,124,16,124,0,0 1890 data 0,48,32,48,0,0,0,0,0,48,32,48,0,0,0,0 1900 data 0,16,0,0,0,0,0,0,0,36,36,36,62,32,32,0 1910 data 60,52,52,20,20,20,20,0,0,0,16,0,0,0,0,0 1920 data 0,0,0,16,48,0,0,0,0,48,16,56,0,0,0,0 1930 data 0,56,40,56,0,56,0,0,0,0,40,20,20,40,0,0 1940 data 96,32,112,0,24,104,24,8,96,32,112,0,24,120,16,24 1950 data 96,64,96,0,24,104,24,8,0,16,0,16,16,48,56,0 1960 data 32,24,24,24,24,60,36,0,16,24,24,24,24,60,36,0 1970 data 24,24,24,24,24,60,36,0,24,24,24,24,24,60,36,0 1980 data 24,24,24,24,24,60,36,0,24,16,16,24,24,24,36,0 1990 data 0,56,48,48,56,112,88,0,28,32,32,32,32,28,16,48 2000 data 32,60,32,32,60,32,60,0,16,60,32,32,60,32,60,0 2010 data 48,60,32,32,60,32,60,0,40,60,32,32,60,32,60,0 2020 data 32,56,16,16,16,16,56,0,16,56,16,16,16,16,56,0 2030 data 48,56,16,16,16,16,56,0,40,56,16,16,16,16,56,0 2040 data 0,56,36,36,116,36,56,0,24,36,52,52,44,44,36,0 2050 data 32,24,36,36,36,36,24,0,16,24,36,36,36,36,24,0 2060 data 24,24,36,36,36,36,24,0,24,24,36,36,36,36,24,0 2070 data 24,24,36,36,36,36,24,0,0,0,36,24,24,36,0,0 2080 data 28,36,44,52,36,88,0,0,32,36,36,36,36,36,24,0 2090 data 16,36,36,36,36,36,24,0,24,36,36,36,36,36,24,0 2100 data 24,36,36,36,36,36,24,0,16,68,40,16,16,16,16,0 2110 data 0,32,60,36,60,32,32,0,24,36,40,40,36,36,44,0 2120 data 0,32,0,60,60,36,60,0,0,16,0,60,60,36,60,0 2130 data 0,48,0,60,60,36,60,0,0,56,56,60,60,36,60,0 2140 data 0,40,0,60,60,36,60,0,48,48,0,60,60,36,60,0 2150 data 0,0,44,60,48,44,0,0,0,24,32,32,24,16,48,0 2160 data 0,32,0,28,60,32,28,0,0,16,0,28,60,32,28,0 2170 data 0,48,0,28,60,32,28,0,0,40,0,28,60,32,28,0 2180 data 0,32,0,48,16,16,56,0,0,16,0,48,16,16,56,0 2190 data 0,48,0,48,16,16,56,0,0,40,0,48,16,16,56,0 2200 data 16,24,8,28,36,36,24,0,0,56,56,60,36,36,36,0 2210 data 0,32,0,24,36,36,24,0,0,16,0,24,36,36,24,0 2220 data 0,24,0,24,36,36,24,0,0,24,24,24,36,36,24,0 2230 data 0,36,0,24,36,36,24,0,0,16,0,124,0,16,0,0 2240 data 0,60,44,52,60,0,0,0,0,32,0,36,36,36,60,0 2250 data 0,16,0,36,36,36,60,0,0,24,0,36,36,36,60,0 2260 data 0,36,0,36,36,36,60,0,16,0,36,24,24,16,16,48 2270 data 32,32,56,36,36,56,32,32,40,0,36,24,24,16,16,48 --------------------------------------------------------------------------------------------------- Check image one to see what ChatGPT offered as a new C128 custom character set! Wow, hehe... --------------------------------------------------------------------------------------------------- Well, this was a short trip and ChatGPT failed us once again {Commodore C128} I didn't check the C64 scenario. Maybe that would be okay, but do i want to do that to myself? NO!