Programming the Commander X16 to type 10,000 Chinese Characters

  Рет қаралды 14,236

Inkbox

Inkbox

Жыл бұрын

I created a Chinese Word Processor for the Commander X16, the 21st century 8-Bit computer of the 8-Bit Guy, TexElec, Perifractic, Michael Steil, Frank van den Hoef, and Michael Allison. I go over the steps I took to create this word processor and discuss certain details of programming the X16 in 6502 Assembly.
This program was able to go much farther beyond the scope of my last Chinese Word Processor I created for the Apple II, in that it now includes saving and loading of Chinese text files, along with the ability to scroll the file down to 120 lines of 40 columns Chinese (or 80 column English) text.
One of the main programming highlight is how to interact with different VERA registers, and I go over several tricks I learned while working with them, including setting up a graphics layer in tile or bitmap mode at the proper resolution, copying data from one part of VRAM to another, editing the default color palette, and much more.
Living Type for the Commander X16 is available to download at:
www.commanderx16.com/forum/in...
github.com/InkboxSoftware/Liv...
Programming resources:
X16 guide:
www.commanderx16.com/forum/in...
Matt Heffernan those video guides:
• Commander X16 Assembly...
footage of Chinese word processors:
• RARE Japanese Toshiba ...
See also:
notin.tokyo
www.commanderx16.com/
Bisheng
en.wikipedia.org/wiki/Bi_Sheng

Пікірлер: 66
@lod4246
@lod4246 Жыл бұрын
Thank you for generating more hype for the Commander X16.
@anon_y_mousse
@anon_y_mousse Жыл бұрын
I hope David sees this and showcases this project. I still remember writing my own word processor in QBasic, those were fun times. The examples were pretty helpful too, I was able to have mouse clickable menu bars and a status bar. I miss those days when programming was fun. Maybe I should write a BASIC interpreter.
@markholle3450
@markholle3450 Жыл бұрын
While I understood only about 5% of what you did, this is an awesome development for the X16. I love to see what the community is creating for the system.
@KLegyyn
@KLegyyn Жыл бұрын
The explanation was brilliant, and how it was technically done is gorgeous to listen to. . THE LAST LINE ABOUT INDIA IS FUNNY! . .
@earthsteward70
@earthsteward70 Жыл бұрын
Absolutely astonishing program! I think this is the most advanced singular application for the Commander x16 I've seen! It legit gives me hope for the future of this platform to be more than a tool for gamers. Like you could educate students with this and do real work without internet.
@InkboxSoftware
@InkboxSoftware Жыл бұрын
Given my experience, I think learning assembly on a simple machine that uses a 6502, like the X16, is a lot easier than trying to understand how a modern processor works and trying to program in x86 or x64 assembly. So I could see this computer as a great environment for students to learn about assembly and other low level processes.
@earthsteward70
@earthsteward70 Жыл бұрын
@@InkboxSoftware it's also fun looking to use! What with its fusion of commodore and linux philosophy.
@matthiasbreiter4177
@matthiasbreiter4177 Жыл бұрын
@@InkboxSoftware For modern systems yes. I learned 8085 (predescessor of 8086) assembler with a suiting simple computer and it is so much easier than trying to start understanding a modern CPU. It also opened my eyes what CPU extensions like "MMX" really mean. On an 8085 you need "pages worth" (literally) of assembly language to multiply two large numbers. With MMX this was shrunk to one line.
@mattgio1172
@mattgio1172 Жыл бұрын
Woah! This is an amazing project! I cannot wait to see what else you come up with!
@andrewpinedo1883
@andrewpinedo1883 Күн бұрын
As someone who plays riichi a lot, the mahjong reference at 1:14 I did not expect.
@maxsun2418
@maxsun2418 Жыл бұрын
This is absolutely amazing
@REAL-UNKNOWN-SHINOBI
@REAL-UNKNOWN-SHINOBI Жыл бұрын
I'm going to get hate for this but... This is probably the most interesting thing the commander X16 is going to do. As it's not even compatible hardware or even software wide with the commodore 64, which this is supposed to be a modern replacement for even though it's a whole different beast altogether. If you are actually looking for a modern alternative to a commodore 64, get an Evo64.
@gasun1274
@gasun1274 Жыл бұрын
in all seriousness it would be interesting to see how abugidas are implemented.
@matthiasbreiter4177
@matthiasbreiter4177 Жыл бұрын
I can't speak or read/write Chinese but this is a nice program to support something, that we in the "English" world often forget. While I'm not a native English speaker as well, our Ä's, Ö's ... are rather easy to add or overwrite (or even substitute) on a PETSCII style computer compared to Chinese.
@AB-Prince
@AB-Prince 10 ай бұрын
One thing I'm thinking, if the text editor itself isn't too computationally intense, you could compress the character graphics data which, depending on your implementation of character decompression and drawing, could possibly be marginally faster. and for the graphics screen, RLE should be able to get the filesize down to a miniscule size.
@loganjorgensen
@loganjorgensen 11 ай бұрын
That is impressive, that seemed like the best foundation setup to handle that many characters.🙂 I'm glad to hear there's dense meaning in that alphabet since to a non-speaker it is hard to imagine needing that many heh.😉
@CrushedAsian255
@CrushedAsian255 8 ай бұрын
Yeah the word computer in Chinese is just “电脑”, which is funny because it literally translates to electricity (电) brain (脑)
@dacueba-games
@dacueba-games 7 ай бұрын
Shouldn't it be 電...
@flirora
@flirora 4 ай бұрын
You could use 1 byte per column for the file data (0x00 - 0x7F for the ASCII characters, then 0x80 - 0xFF for the leading byte for the Chinese characters).
@atelierren
@atelierren Жыл бұрын
非常厉害!👍
@tonicparty1541
@tonicparty1541 Жыл бұрын
this is super cool!
@up2tech
@up2tech 8 ай бұрын
Pretty awesome 😊
@desertfish74
@desertfish74 7 ай бұрын
You can load 320kb just fine, in Hiram. Requires some banking logic , but the LOAD call reads it for you in 1 go
@RFX01
@RFX01 Жыл бұрын
It's like a chinese vi. Pretty impressive.
@Nbrother1607
@Nbrother1607 3 ай бұрын
Apparently, Unifont contains every Unicode character
@vitoromega13
@vitoromega13 Жыл бұрын
Yo man, this is cool! Could you release the pixel art for the NESOS thumbnail?
@3vi1J
@3vi1J Жыл бұрын
Very nice! Have you thought about using any form of compression to make the disk/memory footprints more efficient?
@InkboxSoftware
@InkboxSoftware Жыл бұрын
If this was software that would actually be used, then I would probably go down that route, but since downloads have peaked and it's been relegated to the archive on the official site, I doubt anyone will use it seriously in the future.
@matthiasbreiter4177
@matthiasbreiter4177 Жыл бұрын
@@InkboxSoftware Most of the software I search for is "archived" so I think that is maybe an issue with the forum-software. On the other hand, this editor might be useful if the X16 gets released in China or so. Is there a "retro-scene" in China as well?
@playnow2074
@playnow2074 8 ай бұрын
Of course, retro is a fun thing!@@matthiasbreiter4177
@Adiee5Priv
@Adiee5Priv Жыл бұрын
linux font on x16... when x16 linux/unix port?
@zxspectrum16KB
@zxspectrum16KB 9 ай бұрын
If you do this with 8 bits per pixel you could draw the Chinese characters with simple colour cycling no?
@SquallSf
@SquallSf Жыл бұрын
"I can't load 320000 bytes into x16 all at once" Why not? You have 512k of paged RAM - more then enough to hold all this data. The "Load" subroutine allows to target that RAM and is smart to switch banks so you can load the whole file with a single call.
@ame7165
@ame7165 10 ай бұрын
unicode support next? 😁
@colingale
@colingale 10 ай бұрын
This is awesome, now do a Klingon word processor :-)
@bocbinsgames6745
@bocbinsgames6745 Жыл бұрын
@yosi1989
@yosi1989 Жыл бұрын
I want to make a Japanese word processor based on this software system, and I want the source code!
@gasun1274
@gasun1274 Жыл бұрын
he has already put a link to the repo in the description
@yosi1989
@yosi1989 Жыл бұрын
@@gasun1274 ​ *Only compiled binaries, no source code. (Is the source code "confidential"?)* If the other side does not provide the source code, we have no choice but to reverse engineer it or implement it from scratch on my side.
@andrewdunbar828
@andrewdunbar828 Жыл бұрын
Nice! Now for Thai or Devanagari (-:
@Good9tTo9t
@Good9tTo9t Жыл бұрын
While I would say that I'd prefer seeing traditional Chinese characters I think the strokes are too dense for these bitmaps?
@amberwingthefairycat
@amberwingthefairycat 11 ай бұрын
im sure it would be possible. it may look terrible at a larger size but it may be easier to look at the pixels if they were smaller.
@keytronic5631
@keytronic5631 5 ай бұрын
I heard it so many times in the past, but can't remember which song is playing at 5:00. Anyone knows?
@AlphaLiu
@AlphaLiu Жыл бұрын
太强了,我死了
@punpck
@punpck Жыл бұрын
9:20 would have been cool to load and store in UTF
@johnsonlam
@johnsonlam 5 ай бұрын
I don't think daily use Chinese characters exceeds 5000, and usually not more than 500 even the dictionary have so many. Depends on what habit of Chinese, simplified Chinese even have less characters, most of the real life problem is typing puncutation. Your editor really look great even it's not for Traditional Chinese.
@Oriental-perspective
@Oriental-perspective 11 ай бұрын
0:01 xpeng car logo
@zxspectrum16KB
@zxspectrum16KB 9 ай бұрын
Do you see what I mean that's only using 15 colours for Sam coupe she's a UK 8 bit
@aptiveviennapro
@aptiveviennapro Жыл бұрын
会 is “huì”, not “guì”
@gaving.griffon2703
@gaving.griffon2703 Жыл бұрын
Now make it type Japanese... oh wait. Now it just needs hiragana/katakana.
@matthiasbreiter4177
@matthiasbreiter4177 Жыл бұрын
I guess it is not that simple. Japanese glyphs (except hiragana/katagana) "Kanji" evolved from "Han-ji" and are based on the "Language of the Han people". Those han-glyphs were used by there sound, rather than their meaning. Todays Chinese also does not originate from Han but from Mandarin - as far as I understand it. So I'm not even sure if the Kanji are represented within any number of modern Chinese - I honestly do not know. So I guess to make a Japanese Typewriter/Wordprocessor you need to map different "Phonics" to different glyphs. And then in Japanes you can freely mix any typing system in a word or sentence as you like. So the program would have to distinguish at least Kanji, Hiragana, Katagana + "our" Numbers. And at best also Hentaigana (old writing system derived from the "grass-script") and Romanji (our alphabet).
@gasun1274
@gasun1274 Жыл бұрын
​​@@matthiasbreiter4177 it might actually be that simple, you dont have to mimic today's japanese IME. just expect the user to enter common on/kun readings. the user will input the appropriate kanji or kana themselves like in traditional typewriters.
@win_ini
@win_ini Жыл бұрын
@@gasun1274 ah-ah-ah! some kanji are simplified, some are traditional, and some are completely different from them both, don't forget that! for example: guó (mandarin), kuni (japanese) traditional: 國 simplified: 国 japanese: 国
@boss_boy_
@boss_boy_ Жыл бұрын
i don't know why but i really expected to see a bing chilling copypasta in here. anyway very cool +100 social credit
@KevinJDildonik
@KevinJDildonik 6 ай бұрын
Basically every X16 project starts with wow it's a chip for chip replica of a retro computer. So today we're relying entirely on the custom, much more capable, much more modern VERA board for this. (facepalm)
@The-E-Base
@The-E-Base Жыл бұрын
I still need to learn programming in general before I can even step closer to programming on this system.
@matthiasbreiter4177
@matthiasbreiter4177 Жыл бұрын
The programs shown here are written in assembler, which is a very simple programming language - or rather "primitive". It is just one step above machine code. To learn programming you can very well start on the X16 (emulator) - but I would recommend Basic (which is many levels above machine code) and makes programming much easier. Assembler is used when you need all the power of the machine.
@radthadd
@radthadd 10 ай бұрын
Ever notice how every race has a set of voices? haha I knew u were asian. U did good with this program I didn't even know it was possible
@xenotiic8356
@xenotiic8356 2 ай бұрын
Do you mean accents..?
@oDTR
@oDTR 7 ай бұрын
I Can't have an X16 Because I Am poor
@xenotiic8356
@xenotiic8356 2 ай бұрын
Same, but hopefully someday it comes down in price! For now, at least we get an emulator (=w= ")
@celestialamber174
@celestialamber174 Жыл бұрын
冰淇淋 🍦
@janovskicz
@janovskicz Жыл бұрын
@tonyzhang6744
@tonyzhang6744 11 ай бұрын
向大佬低头
The Commander X16 is Finally Reviewed!
10:53
Inkbox
Рет қаралды 61 М.
Turning an Ancient Chinese Legend into a Mario Rom Hack
14:51
UFC Vegas 93 : Алмабаев VS Джонсон
02:01
Setanta Sports UFC
Рет қаралды 226 М.
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 14 МЛН
Super gymnastics 😍🫣
00:15
Lexa_Merin
Рет қаралды 107 МЛН
Programming the NES - Everything you need to know
28:36
Inkbox
Рет қаралды 51 М.
How I made typing Chinese on the Apple II possible
20:32
Inkbox
Рет қаралды 22 М.
I Recreated This OLD ARCADE GAME in Excel
8:21
PaulVee
Рет қаралды 2 М.
X16 vs. Agon: 8-Bit Battle Royale
41:21
The Retro Desk
Рет қаралды 27 М.
Is 8-Bit Minecraft Possible?
13:56
Inkbox
Рет қаралды 1,1 МЛН
I Made Fruit Ninja Into a REAL 8-Bit NES Game
11:03
Inkbox
Рет қаралды 258 М.
Lawsuit: Why the Commander X16™ is being renamed | Posted 1-Apr-2021
10:57
I made a port of Xixit to the X16
11:31
The 8-Bit Guy
Рет қаралды 211 М.
Commander X16 technical deep dive
1:00:53
Adrian's Digital Basement
Рет қаралды 142 М.
Your Keyboard Cannot Comprehend These Noodles
12:27
Inkbox
Рет қаралды 312 М.
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 2 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 27 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,8 МЛН
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 32 МЛН
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 11 МЛН