Inkbox
How to Program the PC Engine in HuC2680 Assembly
updated
Use this code for 6% off the GEEKOM A9 Max: INKA9MAX
Amazon US: amazon.com/dp/B0FJ213R6G?maas=maas_adg_0FE41833A48421DFC866BA78A00785F4_afap_abs&ref_=aa_maas&tag=maas
GEEKOM US: geekompc.com/geekom-a9-max-mini-pc/?mtm_campaign=a9max-INKA9MAX
Amazon UK: amazon.co.uk/dp/B0FHWDVNN7?maas=maas_adg_9A4C623880A8B3A20FB38BAA108CB4F0_afap_abs&ref_=aa_maas&tag=maas
GEEKOM UK: geekom.co.uk/geekom-a9-max-mini-pc?mtm_campaign=a9max-INKA9MAX
What's possible with UEFI? Graphics, input, output. It's everything you need to make a game (except for sound). Using x64 assembly I recreated Zaxxon as a UEFI application that runs without the support of an operating system. This program will run on any x86_64 machine. Check it out via the link down below.
Open Source Project on GitHub:
github.com/InkboxSoftware/spacegamex64
UEFI spec: uefi.org/specifications
EFI Toolkit repo (if you want C): EFI toolkit repo github.com/tianocore/tianocore.github.io/wiki/EFI-Toolkit
Super Mario Bros. for the NES is a classic game, but it's just too easy. Stop taking the shortcut from world 1 to 4 to 8. This ROM hack removes all warp zones, shortcut pipes, and even powerups. The only thing left is Mario's will to survive knowing that if he makes a single mistake, it's right back to the start of the entire game for him.
Of course, Super Mario isn't meant to have levels larger than 64 pages, so how is it possible that the environment, enemies, and everything else can contain everything from 1-1 to 8-4 in a single level? Only through slowly and excruciatingly solving every problem as they rear their heads. It wasn't easy, but it's a great hack to play through to let you experience Super Mario for the NES in a challenging new way.
Play the hack today: https://notin.tokyo/SSMB
Romhacking.net link coming soon.
Join the Patreon: patreon.com/c/Inkbox
Correction: AreaType 0 is water, 1 is ground, 2 is underground, and 3 is castle.
Thanks @Kosmicd12 for playing through Smooth Mario Bros!
This hack was created using the disassembly of the game created by doppelganger and edited by Movax12 to compile via CC65:
romhacking.net/community/2056
NES development resources: nesdev.org/wiki/Programming_guide
If you find any bugs in the hack, then please bring it to my attention via email or the discord group.
This video was sponsored by Brilliant.
I created a keyboard with an all-screen layout for dynamically switching between different keyboard languages and layouts.
GitHub Repo: github.com/InkboxSoftware/all-screen-keyboard
Patreon: patreon.com/c/Inkbox
I designed and created my own keyboard from scratch. This keyboard doesn't use the standard QWERTY layout, at least not if you don't want it to. Thanks to the transparent keys, a full view of the 1440p screen underneath allows for dynamic key layouts and graphics effects while typing. Any keyboard layout in any language is possible. But how? Traditional key switches would block the screen, so I had to reinvent the key itself. Using an array of hall effect sensors, I use magnets to detect both the location of the key, and hold them in place. Even the keyboard's software, including the graphics engine, hall effect interface, and Bluetooth capabilities were all written by myself.
Thanks to @SebastianLague for the creation of the Digital Logic Simulator: sebastian.itch.io/digital-logic-sim
Find Lugia2009 on
Blue Sky: https://bsky.app/profile/kamonfox.bsky.social
YouTube: youtube.com/@kamonfox1707
To try everything Brilliant has to offer—free—for a full 30 days, visit brilliant.org/Inkbox . You’ll also get 20% off an annual premium subscription.
雷电皇:比卡丘传说 The Thunder Emperor: The Legend of Pikachu was the 46th (NJ046) game published by Shenzhen Nanjing Technology Limited Company (深圳南晶科技有限公司). The game was released in 2005 in China. In 2015 the game was translated into English by Lugia2009.
While this game isn't an exact clone of Pokemon Yellow for the Game Boy, it is still an impressive port of the game made for a console released in the 1980s.
Play the game: github.com/dream1986/nesrom/blob/master/%E9%9B%B7%E7%94%B5%E7%9A%87_%E6%AF%94%E5%8D%A1%E4%B8%98%E4%BC%A0%E8%AF%B4.nes
(click download raw file button)
If using an emulator like FCEUX, you must change the file name to ensure there are no Chinese characters.
English Patch: romhacking.net/translations/2478
Rare Candy patch: github.com/InkboxSoftware/LeiDianHuang-RareCandyPatch
Cantonese version of the Pokémon anime opening: youtube.com/watch?v=7C4GwQVSmNw
List of games from Shenzhen Nanjing: gamesdb.launchbox-app.com/publishers/games/2930-shenzhen-nanjing-technology
Pokemon Yellow for Game Boy modern translation:
github.com/TomJinW/pokeyellowCHS
This video was sponsored by Brilliant
Nintendo's greatest sequel: The Super Nintendo Entertainment System. Now with 128KB of WRAM, 64KB of VRAM, and an upgraded 16-bit S-CPU based on the 65C816. All it takes is to understand the hardware, sprite rendering, background modes, background effects, plus a little magic (and a leaked developer manual) and you too can make your own SNES game.
Play the 〇 Star mini-demo now: https://notin.tokyo/〇
SNES Dev Wiki:
snes.nesdev.org/wiki/SNESdev_Wiki
SNES HiROM PCB design: github.com/MouseBiteLabs/Super-Nintendo-Cartridges/tree/main/HiROM%20Flash
More from @bucket_mouse : https://linktr.ee/bucketmouse
Open Source Cartridge Reader: github.com/sanni/cartreader
Breakdown of SNES hardware:
copetti.org/writings/consoles/super-nintendo
3D seal:
makerworld.com/en/models/447144
This video was sponsored by PCBWay
The Excel SRISC CPU: github.com/InkboxSoftware/excelRISC-CPU
Other sources:
Ultimate RISC computer: en.wikipedia.org/wiki/One-instruction_set_computer
Music:
Feabhas, Rhapsody, Free Music Archive
i(4), Rhapsody, Free Music Archive
The Sea's Just A Puddle, Rhapsody, Free Music Archive
This video was sponsored by Brilliant
How does a 3D graphics engine work? What is the graphics pipeline? I built a custom 3D graphics engine from nothing using DirectX 11 that is capable of rendering any arbitrary 3D model taken from an OBJ file. I also write several shaders, programs used to turn vertex data into something that can be seen, to give textures and shadows to the rendered triangles in the models. A work around to not being able to render objects in 2D was created. The creted 3D engine is used to create my own 3D shooter.
Play Typing Simulator 3D: inkbox-software.itch.io/typingsim3d
Join the Inkbox Athenaeum Discord: discord.gg/n6CacU3S
Typing Simulator 3D official trailer:
Sources:
Rastertek tutorials: rastertek.com/tutindex.html
World Karate Championship: youtube.com/watch?v=3BMfS10MhRw
Creating a cube in unreal engine: youtube.com/watch?v=wTT9dOpy14k
3D Models Sources:
Japanese teapot: sketchfab.com/3d-models/japanese-teapot-ffc59e2d36004cd9b77b9342eb25b4ee
Keyboard: sketchfab.com/3d-models/keyboard-low-qualty-texture-w-ppo-3e9ed4020f7f4784ae8a4bc9f65bc2b0
Cheese wedge: (skfb.ly/6TFqB) by CzernO is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).
Low Polly Sun Glasses: (sketchfab.com/3d-models/low-polly-sun-glasses-504ce2132b8c4f94b8eaa3b38f16564f) by Luke_Swag_Walker
Low Poly Camera
sketchfab.com/3d-models/1990s-low-poly-camera-f226e482ab144773a211ae6f048ac85d
Music credits:
A Crime In Progress
by John Bartmann from Free Music Archive
Liscense: CC BY-SA
This video was sponsored by Brilliant
I'm looking forward to ARM and RISC-V competition, but the x86 architecture is still the king today, and it doesn't seem like there is any real competition, at least in the desktop PC space.
Special thanks to IceWhale Tech for sending over their ZimaBlade single board computer. You can check their board out below:
ZimaBlade Official Shop: bit.ly/4cKwZ4y
ZimaBlade on Amazon: amzn.to/3LzV4Pw
ZimaBlade Personal NAS: bit.ly/4dbg6Qa
Sources:
1980s PC sales: en.wikipedia.org/wiki/Market_share_of_personal_computer_vendors
x86 Operating Modes: en.wikipedia.org/wiki/X86-64#Operating_modes
Rufus boot disk maker: https://rufus.ie/en/
UNebootin boot disk maker (used to create the PC-DOS boot disk): unetbootin.github.io
PC-DOS disk: pcjs.org/software/pcx86/sys/dos/ibm/1.00
x86-S: hackaday.com/2023/05/21/intel-suggests-dropping-everything-but-64-bit-from-x86-with-its-x86-s-proposal
Interesting article about FreeDOS: arstechnica.com/gadgets/2024/06/30-years-later-freedos-is-still-keeping-the-dream-of-the-command-prompt-alive
After testing it was found that the smallest EXE on 64-bit Windows is 268 bytes. This is a system limitation and not a limit with the Portable Executable file format itself. The smallest EXE runnable by other versions of Windows are as follows:
Windows XP: 97 bytes
Windows 2000: 133 bytes
Windows Vista/7 (32-bit): 252 bytes
Windows 7/10/11 (64-bit): 268 bytes
The largest EXE possible is 1,996,488,704 bytes. Again, this size is a limitation with Windows.
GitHub project containing 268 byte EXE, world's smallest game, and world's smallest piano:
github.com/InkboxSoftware/smallEXE
About the PE file format:
PE file format: learn.microsoft.com/en-us/windows/win32/debug/pe-format
PE file diagram: github.com/corkami/pics/blob/master/binary/pe101/README.md
Making Small EXE:
Original research into smallest possible EXE: https://archive.is/w01DO
World's Smallest Windows App (Dave's Garage): youtube.com/watch?v=-Vw-ONPfaFk
Tiny PE on Windows 10 (x64): github.com/ayaka14732/TinyPE-on-Win10
More on the 268 byte limit: gist.github.com/kajott/063dfce6a94da03a379553b3db6be334
Refined MattKC snake: github.com/EimaMei/snake-qr
Low Level Programming:
Kernel32 functions: geoffchappell.com/studies/windows/win32/kernel32/api/index.htm
Windows Virtual Terminal Sequences: learn.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences
MSVC Linker options: learn.microsoft.com/en-us/cpp/build/reference/linker-options?view=msvc-170&viewFallbackFrom=vs-2019
What is the largest EXE: superuser.com/questions/667593/is-it-possible-to-run-a-larger-than-4gb-exe
This video is sponsored by Brilliant
The main board used was the Lilygo T-Display S3 AMOLED (lilygo.cc/products/t-display-s3-amoled), and features an ESP32-S3 SoC that provides built in Wi-Fi, Bluetooth, I2C, and USB-C interface.
The case was designed in Google Sketchup, and the operating system (mPOS) and applications were written in Python using the Micropython firmware, and the main AMOLED board driver was provided by nspsck on GitHub.
Driver link: github.com/nspsck/RM67162_Micropython_QSPI
3D model of case, but you'll never use it since it's for this specific board: drive.google.com/file/d/1o5BmoGZvYbOHexXvD-pDrrlnK1t4bjFu/view?usp=sharing
Previous title: I Made a Smartwatch In A Cave With A Box Of Scraps
This video was sponsored by PCBWay
Later in 1998, the Game Boy Color was released and featured a new SoC known as the CGB CPU. It featured a CPU capable of running at up to double the DMG's clock speed (at the expense of using more battery power), increased the system's built in WRAM to 32KB, and VRAM to 16KB (Also moving VRAM directly into the SoC package).
Try Temple Run for the Game Boy: https://notin.tokyo/gameboy/temple
Try Rock Paper Scissors for the Game Boy: https://notin.tokyo/gameboy/RPS.html
Hardware Analysis: copetti.org/writings/consoles/game-boy
The Game Boy is programmed using RGBASM, which is based on Z80 assembly syntax. Development resources are found below:
Game Boy PAN Docs: gbdev.io/pandocs
RGBDS GitHub: github.com/gbdev/rgbds
Assembly Programming Guide: gbdev.io/gb-asm-tutorial
RGBASM Instructions: rgbds.gbdev.io/docs/v0.4.2/gbz80.7
BGR555 color tool: orangeglo.github.io/BGR555
Rock Paper Scissors in Japan: archive.org/details/cultureofjapanas0000unse
The Culture of Japan as Seen through Its Leisure. pp. 325–326.
Gameboy cartridge by Maxence Béranger from Noun Project
Game Boy by IYIKON from Noun Project
pattern by Yasser Megahed from Noun Project
This video was sponsored by Brilliant
Although early NES games were design for 40KB cartriges (32KB of PRG ROM and 8KB of CHR ROM), later advancements led to larger chips being used, and more game content being added, but the system itself remained the same. In order to bridge this gap, Mapper Chips were developed to allow the system access to certain parts of the PRG or CHR ROM sections.
I've created a new NES title to show how programming an NES game from scratch can be accomplished. No Internet for the NES is available now: https://notin.tokyo/nointernet
Development help:
nesdev.org/wiki/Nesdev_Wiki
Further reading:
copetti.org/writings/consoles/nes
The main design of the CPU is broken into a fetch unit, control unit, arithmetic logic unit, register file, PC unit, several multiplexers, a memory control unit, a 128KB RAM table, and a 128x128 16-color display.
Try it out down below:
github.com/InkboxSoftware/excelCPU
This video was sponsored by Brilliant
computer chip by MITHUN T M from Noun Project
Memory by Alvida from Noun project
Calculator by Uswa KDT from Noun Project
Today's Unicode supports 149,813 characters in several different Unicode blocks and spanning several planes. The Biang character, both the traditional and simplified version were added to Unicode 13.0 in 2020 at code point U-30EDE and U-30EDD respectively.
While it took nearly 50 years from the advent of the personal computer to when we were finally able to type these characters, hopefully it will take less time for other variant characters to be supported in the Unicode Standard.
Early CJK encoding tables:
http://kanji.zinbun.kyoto-u.ac.jp/~yasuoka/CJK.html
Unicode chronology
unicode.org/history/versionone.html
Unicode first press release
unicode.org/history/first-pr.htm
Unicode standard principles:
unicode.org/versions/Unicode1.0.0/ch02.pdf
Unification of Han Characters:
unicode.org/versions/Unicode1.0.0/V2ch02.pdf
Requirements of proposal form:
unicode.org/pending/proposals.html?utm_source=webtekno
Unicode 1.0 chart:
unicode.org/versions/Unicode1.0.0
unicode.org/versions/Unicode1.0.0/CodeCharts2.pdf
Ideographic Research Group:
https://appsrv.cse.cuhk.edu.hk/~irg/
Writing Biang Biang:
youtube.com/watch?v=gU2pmYyZjCM
Relevant Papers:
“■”字文化解析
“biáng”字的文化解读
他 山之石 ,可 以攻玉
Biang就一个字
再说biangbiang面
retro computer by Blake Stevenson from Noun Project (CC BY 3.0)
Incogni: incogni.com/inkbox
The progress on creating a crafting and mining game continues, now with a new release title: 8-Bit Blocks. This installment features a brand-new physics engine, including 3D collision and gravity, building, the beginning stages of mining, inventory management, and many more details all painstakingly programmed in 6502 Assembly for the Commander X16 system. The first release of 8-Bit Blocks is available now (see details below).
What happens when classic mining meets 8-Bit architecture? Pure insanity. I share some tips and tricks in this video that go over exactly how I managed to pull off what at first seem like an impossible programming task: create an interactive 3D world that you can climb around, build bridges in, and be able to create anything you can think of. From laying out the inventory in memory, to saving CPU cycles by re-drawing only highly calculated sections of the screen, this update has it all.
Play the alpha release here at: https://notin.tokyo/8BB
Join the conversation: reddit.com/r/inkboxAthenaeum
Other resources:
Minecraft tutorial footage:
youtube.com/watch?v=lvYgeixD69w
Have a suggestion or feedback: inkbox@notin.tokyo
Using the power of the Commander X16, a newly released 8-Bit computer I've begun the process of building a brand new 8-Bit block game. Through some heavy programming I designed a chunk loading engine in 6502 assembly. But because there weren't any great tile designing tools for the X16, like YYCHR for the NES, I had to make them myself. The links to my tile maker is available below. However, after designing a chunk rending engine with tiles, I realized that it looked terrible. I tore it out and replaced it with a new method of rending using the X16's bitmap mode. Although it uses more video memory, the isometric blocks look much better. And most of the code from my first attempt could be recycled, so nothing ended up being a waste. More updates are soon to follow so stay tuned.
Share your ideas and be first in line for the Beta test at reddit.com/r/inkboxAthenaeum
Additional Resources:
X16 4bpp and 8bpp tile and palette editor:
https://notin.tokyo/X16tiles
3D ant attack footage
youtube.com/watch?v=Va5SKaYL3r8&ab_channel=RZXArchive
This video was sponsored by Brilliant
The Commander X16 is a modern 8-Bit computer with a real 65C02 CPU running at up to 8MHz, with 40KB of low RAM, and up to 2MB of total RAM via 256 swappable 8KB RAM banks (standard machine will come with 512KB RAM). The VERA is capable of multiple graphics modes, layers, and resolutions, along with having 128 sprites, with 128KB of embedded video RAM.
The SD card provides the best reason to use the Commander X16, as it provides basically unlimited storage given the microscopic size of the program files. And although Demos are the hot thing right now, as more consumers and developers get their hands on this machine, we should start to see more software coming out.
While I'm a big fan of the project, I think two things can be improved. One is the Commander X16 forum should update the downloads section to include thumbnail images for each program, and also have a standard layout with a title, description, and "how to run" section laid out on the specific program's page.
Two is to create a Commander X16 Developer Wiki, similar to the NESdev Wiki, to provide more in-depth explanations on a myriad of topics related to programming the X16.
Thanks to everybody behind the Commander X16 project, and the individuals who are busy hitting the keys making great things to come. I hope to see the community continue to grow.
Expansion card explained:
According to a note in the box, a change in the cartridge design required a redesign of the expansion cards, making the cards shipped now incompatible, and not recommended to be plugged into the system. Replacements will be shipped to those who bought one of these first few units upon request.
Why no included power supply? Explanation from texelec.com/product/cx16-devboard-bundle
"Please note, we didn’t include an AC adapter as the system will be used in many locations around the world. We were unhappy with the quality of the few universal supplies we tested"
Explanation of the first monitor:
Nearly all VGA monitors work just fine with the Commander X16, it's only a small minority of which have issues. My first monitor could only process a 1280x1024 signal, so had troubles dealing with the 640x480 output of the X16. Initial trouble shooting determined it was neither the cables, nor the X16 that was the problem. My second monitor had absolutely no problems at all.
Matt Heffernan's Excellent X16 Assembly tutorials:
youtube.com/playlist?list=PLPSrOWYluVLIJ1n-TsVb-BESL1tkSTRI_
David's Comments from VCF Southwest
youtube.com/watch?v=p3OpXI7GOCk&ab_channel=VCFSouthwest
Voxel Revolution Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
http://creativecommons.org/licenses/by/3.0
Correction:
Bottom of the board revealing the main chip of the board: drive.google.com/file/d/1-MJ7DocH6dQi3JY19jnO5GTbdcSqp9_M/view?usp=sharing
Reach out: inkbox@notin.tokyo
https://notin.tokyo
Featured Video Sources:
youtube.com/watch?v=oKjuL1oENgo - Famicom Mahjong
youtube.com/watch?v=H_uYminV1NU - Kids and Flag Ad
youtube.com/watch?v=D4p7iThVym4 - Wangzi Chenglong Ad
The truth is that @ has a rich history that can be traced back to the 1300's, and since then has traveled through the Mediterranean world, across continental Europe, and into the printing houses of everyday Englishmen. @ originally was used to represent the word "arroba" (this is still the Spanish and Portuguese name for the character), a term for a unit of weight that was borrowed from the Arabs. Later @ came to be used in place of the phrase "at the rate of" in France and later England and Sweeden. This meaning held through the turn of the 20th century, and @ is still properly referred to as the "commercial at" or "commercial a". By the time typewriters became available to the general public @ was being included along with other commercial keys like the cent sign.
Around this same time electric data processing machines, like the kind made by Herman Hollerith, needed to encode letters and numbers into binary on punch cards. The code used here was BCDIC, which by the 1930's only held 40 symbols, @ not included. It was only when the ENIAC, BINAC, and UNIVAC came along and began to use teletypes as console output and later input that BCDIC was expanded. In 1953 @, along with several other symbols from the teletype keyboards, @ was officially included in BCDIC and was used in IBM's FORTRAN to represent the single quote.
When ASCII was developed in 1963 @ was again included at position 1000000, cementing it as part of general computer encoding. Wherever ASCII goes, @ goes along as well, and there was hardly a computer from that day on that was not compatible with this encoding.
So Ray Tomlinson's keyboard in 1971 had @ on it because @ was already a part of ASCII. His choosing @ didn't save it from being thrown out of the keyboard, although it did manage to give a use to the @ key for non-programmers of the day.
@ is the key with the most unique history on the entire keyboard, and it isn't going anywhere anytime soon.
Other great projects: https://www.notin.tokyo
Use the power of @ to send an email: inkboxsoftware@notin.tokyo
Thanks to Ray Tomlinson, 1941 - 2016
Try it for yourself at: https://notin.tokyo/fruit
Relevant NESdev page:
nesdev.org/wiki/Zapper
How the Nes Zapper in FCEUX
github.com/TASEmulators/fceux/blob/master/src/input/zapper.cpp
Other Interesting NES forum discussions I found:
https://archive.nes.science/nesdev-forums/f2/t1602.xhtml
https://archive.nes.science/nesdev-forums/f2/t6262.xhtml
Zap Ruder in particular is interesting as it does a real time calculation of where the zapper is looking on the screen, turning it into a fairly accurate cursor.
pineight.com/nes/#ruder
Disclaimer:
The game "Fruit Shinobi" is a unique title. The story, all names, characters, and incidents portrayed in this production are fictitious. No identification with other games (living or deceased), places, buildings, and products is intended or should be inferred.
No fruit was harmed in the making of this game.
Altair 8800 Demonstration:
youtube.com/watch?v=EV1ki6LiEmg
Learning x64 Assembly:
youtube.com/watch?v=rxsBghsrvpI&list=PLKK11Ligqitg9MOX3-0tFT1Rmh3uJp7kA
stackoverflow.com/questions/64413414/unresolved-external-symbol-printf-in-windows-x64-assembly-programming-with-nasm
kernel32 lib:
github.com/repnz/snax86/blob/master/lib/Kernel32.Lib
kernel32 and kernel64 are the same thing.
Windows 1.0 online:
pcjs.org/software/pcx86/sys/windows/1.01/ega
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:
commanderx16.com/forum/index.php?/files/file/251-living-type-a-chinese-word-processor
github.com/InkboxSoftware/LivingTypeX16
Programming resources:
X16 guide:
commanderx16.com/forum/index.php?/files/category/8-official-docs
Matt Heffernan those video guides:
youtube.com/watch?v=gqwIzbT_WFU&list=PLPSrOWYluVLIJ1n-TsVb-BESL1tkSTRI_
footage of Chinese word processors:
youtube.com/watch?v=JZcui85b4EE
See also:
https://notin.tokyo
commanderx16.com
Bisheng
en.wikipedia.org/wiki/Bi_Sheng
*Dwitter:*
dwitter.net
*https://notin.tokyo*
*My page on Dwitter:*
dwitter.net/u/Inkbox
*And Twitter:*
twitter.com/InkboxSoftware
The hack patch
The original (unmodified) game file
Lunar IPS, download for Windows: romhacking.net/utilities/240
Then open Lunar IPS and select “Apply IPS Patch”.
Use file explorer to select your patch and click “Open”.
Then on the next screen select the original unmodified game file to patch onto and click “Open” again.
Your game file should now be patched to the hacked version.
Find more hacks at romhacking.net
More projects at: https://notin.tokyo
Try Pokémon Emerald Ambulation and Emerald Chaos Ambulation for yourself at:
https://notin.tokyo/pokemon
Also available at:
romhacking.net/hacks/7266
romhacking.net/hacks/7267
How to apply the patch:
youtu.be/aMNXicJmnXQ
In Pokémon Emerald Chaos Ambulation all Pokémon Battles and Encounters are randomly chosen from the 386 Pokémon but are at the same level as the original Pokémon would be. For example, a level 5 Ralts could become any Pokémon at that level, with all the associated moves of that new Pokémon.
Any artists interested in creating art for Lugia, Ho-oh or updating the exisintg animations for the three Hoenn legendary Pokémon, please check out the existing artwork at: bit.ly/3TaY8TA
Any submissions should be emailed to InkboxSoftware@notin.tokyo
Sources:
Pret Disassembly
github.com/pret/pokeemerald
Bug Reporting Form
https://forms.gle/C8F1nVguNavk8CqJ7
This hack should be fully compatible with existing save files, so if you have a .sav file on an emulator then your game, after being patched, should continue to function as normal.
gameboy advance cartridge by Braden Stranks,
Gameboy Advance by Billy Sweetman,
and folder by BlackActurus from the Noun Project
Intro 0:00
NES Architecture 0:47
Setting Up Your Programming Environment 3:32
Understanding Your Assembly File 5:36
Getting Started with Sprites 10:59
More on Sprites 20:08
Where to go next 27:53
*Prerequisites:*
A computer with internet access
A working knowledge of 6502 assembly
*Final boiler plate program:*
github.com/InkboxSoftware/NESGuide
*Architecture note:*
The APU is a part of the NES' CPU, but programmatically it can be thought of as a separate device, and so that is what I treat it as in my video.
*Setting up your environment resources:*
Notepad++
notepad-plus-plus.org
Sublime Text
sublimetext.com
Notepad++ NES 6502 custom language config
github.com/xram64/6502-npp-syntax
My version of it:
drive.google.com/file/d/1tmMkrgJ0yI8B6GLte7AxUWMSDcKA3Zin/view?usp=sharing
YYCHR
smwcentral.net/?p=section&a=details&id=27208
romhacking.net/utilities/119
CC65
cc65.github.io
github.com/cc65/cc65
FCEUX
fceux.com/web/home.html
*Resources and further reading:*
Nesdev Wiki
nesdev.org/wiki/Nesdev_Wiki
Learn Assembly links
https://www.masswerk.at/6502/6502_instruction_set.html
en.wikibooks.org/wiki/6502_Assembly
archive.org/search.php?query=6502+assembly
NES 2.0 Header:
nesdev.org/wiki/NES_2.0
A list of errors to keep in mind:
nesdev.org/wiki/Errata
*Other Guides:*
The Zero Pages
youtube.com/watch?v=JgdcGcJga4w&list=PL29OkqO3wUxzOmjc0VKcdiNPqwliHEuEk&ab_channel=MichaelChiaramonte
https://notin.tokyo
The New Windows Start Button is an app to replace your existing Windows Start Button.
Simply open the app and select an image file from your computer, select a background color for the window, and then adjust the size as necessary. Once you click begin, the app will no longer appear in the taskbar and the selected image will overlay the Windows Start Button.
Double click the image to bring the original window back up. Clicking the reset button will reset all settings to default.
Clicking on The New Windows Start Button window while it is overlaying the start button will not bring up the start menu. Users should instead press the Meta Key (Windows Key) to bring it up.
Clicking on the taskbar may cause The New Windows Start Button window to lose its position as the top TopMost Window, but within a few seconds it should appear again.
Check out my other work at: https://notin.tokyo
NESOS is an operating system designed for the Nintendo Entertainment and Family Computer Systems. It was programmed in 6502 Assembly and compiled using CC65. This video covers how NESOS was made, including techniques used in programming the NES such as dealing with the Picture Processing Unit and saving data long term via NVRAM.
The operating system features two core applications, the word processor, and the settings. The word processor allows users to print characters and certain blocks to the screen, then save that data in the form of a file for later use or editing. The settings app displays system information and lets the user select one of seven cursors, and one of 53 possible desktop background colors. It also acts as the file manager, allowing users to delete their saved files.
NESOS uses 2K of NVRAM to save up to 8 files between sessions. The word processor is fully compatible with the Family Basic Keyboard giving every key functionality. Users may open their saved files on the desktop top by navigating to the correct file and pressing the A button. Holding the B button while over an icon and moving the mouse will allow the user to move both the files and the applications anywhere on the desktop.
The word processor may also be used without the Family Basic Keyboard. Using a standard NES or Famicom controller the user may type a character by pressing the A button. Holding A will cycle through all 64 possible characters that can be drawn on the screen. Pressing the B button will move the cursor forward in the document. Holding select with A will cycle the characters in reverse order. Holding Select with B will move the cursor backwards in the document.
I have updated NESOS since uploading this video, the latest version can be found at the link above.
NESOS also available at:
romhacking.net/homebrew/172
Resources:
Windows 98 for Famicom (this is a Chinese mockup of Windows 98 for the Famicom/NES and isn't really functional)
archive.org/details/FCWIN98
NES Programming Resources:
nesdev.org/wiki/Nesdev_Wiki
NES CPU Memory Map
nesdev.org/wiki/CPU_memory_map
I created an app to track which First Level Administrative Divisions in the world that one has gone to, driven through, or flown to. The map data comes from Natural Earth (source links below) and was parsed into an SVG file broken up into groups of top level administrations and their divisions inside.
The program is written as a Progressive Web App (PWA) made from scratch in HTML, CSS, and JavaScript.
This video covers the process and challenges I faced as I collected data and built the app.
The project currently is slow due to extensive use of the DOM and would be much faster if a canvas was used to render the map instead. All those who use the SVG map below should keep that in mind.
Sources:
What is a First Level Administration?
commons.wikimedia.org/wiki/Atlas_of_first-level_administrative_divisions
Specific map data from Natural Earth I used:
naturalearthdata.com/downloads/10m-cultural-vectors/10m-admin-1-states-provinces
SHP file to SVG converter:
mapshaper.org
The final SVG map of the world:
drive.google.com/file/d/1kdSmctjGjkTDEE8VOy4-S90mwDzzfcpr/view?usp=sharing
What is an SVG file?
w3schools.com/graphics/svg_intro.asp
SVG Path Simplification tools (They do work, just not for my project):
luncheon.github.io/simplify-svg-path/index.html
Mobile Zoom:
developer.mozilla.org/en-US/docs/Web/API/Pointer_events/Pinch_zoom_gestures
github.com/mdn/dom-examples/blob/master/pointerevents/Pinch_zoom_gestures.html
Updated line of code:
var curDiff = Math.sqrt(Math.pow(evCache[1].clientX - evCache[0].clientX, 2) + Math.pow(evCache[1].clientY - evCache[0].clientY, 2));
As of editing this video my push request has been accepted by Mozilla and the code should be changed on their website to reflect the proper changes.
What is a PWA?
en.wikipedia.org/wiki/Progressive_web_application
Excellent PWA example:
github.com/mdn/pwa-examples/tree/master/js13kpwa
icons:
Plane by papergarden from Noun Project
Car by Andi from Noun Project
Walk by Adrien Coquet from Noun Project
Mouse by Midev from Noun Project
The swastika is an ancient symbol dating back to pre-historical times. Swastika comes from Sanskrit meaning "to be fortunate".
The swastika's history has been misunderstood on the internet, the swastika is more than just a symbol from Buddhism or Hinduism, and predates both those religions. It is one of the fundamental shapes that humans have used in nearly every culture since the beginning. Both Left and right facing swastikas, 卍 & 卐 respectively, are common forms of the swastika seen throughout history and all across the world.
The oldest known example of a swastika was from over 10,000 years ago, and later this shape was one of the iconic symbols of the Mesopotamians, Greeks, Romans, Chinese, Koreans, Japanese, Celts, Aboriginal Americans, Sub-Saharan Africans (the Ashanti of West Africa), and Medieval Christians.
After the Nazi adopted the Swastika in 1920 it gradually came to be associated with white supremacy in western culture. Any use of a Swastika in association with Nazism of any form should not be tolerated.
Armenian infinity sign: ֍֎
My other projects: https://notin.tokyo
#卍
Share Icon by Maya Nurhayati from Noun Project
Globe Icon by fix project from Noun Project
¡Fruit! is available to play at:
http://www.fruit.yokohama
Check out my other projects:
http://www.notin.tokyo
Resources:
npmjs.com/package/detect-collisions
Neural Network by Alex Burte, Lock by Katarina Ilić, Fortune Cookie by Sasha Sash from NounProject.com
Peoples covered and the local names for their scripts:
Chinese Characters - 漢字(繁体字)
Simplified Chinese Characters - 简体字
Singapore Simplified Characters - 新加坡簡體字
Japanese National Characters - 日本国字
Japanese New Character Forms - 日本新字体
Korean National Characters - 국자 (國字)
Korean Abbreviated Characters - 약자 (略字)
Vietnamese Chữ Nôm (𡨸喃)
Other Peoples:
Zhuang - Sawndip (Zhuang Script)
Khitan - Khitan Large Script
Jurchen - Jurchen Large Script
Western Xia - Tangut (Western Xia Script)
Sui - Sui Script (水書)
Yi - Classical Yi
Play the Journey to the West Mario Rom Hack: [romhacking.net/hacks/6647] (IPS File)
4-1's platform at the end sometimes doesn't load the first time, try approaching again and it will eventually.
Full NES game download: https://notin.tokyo/source/Journey.zip
Resources:
SMB High Level Disassembly:
romhacking.net/documents/635
MMC3 Guide:
https://archive.nes.science/nesdev-forums/f2/t17851.xhtml
Search for "Operation:" and you'll find the specific guide
Header Guide:
github.com/bonimy/MushROMs/blob/master/doc/SMB1%20Level%20Format.md#area-header-data-format
From what I can tell, the scenery and platform type bytes in the area header may be swapped from what this guide shows.
Title Editor:
romhacking.net/utilities/491
Title Editor Guide:
youtube.com/watch?v=R2bfh4yuNCY
File Icon by Astonish from NounProject.com
Learn more about the Thumby: thumby.us
JavaScript version: https://notin.tokyo/gameboy
Python Version: github.com/InkboxSoftware/Thumboy
Foreground and background sprites are explained as well as the color and sprite limits of the PPU. Sprite attributes, including the palette number, background priority, and orientation are also explained. Artwork was designed using YYCHR.
Why do sprites on the NES flicker? Because only 8 horizontal sprites are able to be displayed by the PPU. To get around this limitation the order of sprites rendered is shifted around, resulting in some sprites being displayed only half the time, creating the iconic flicker.
Controller input is handled by checking one of 8 bits in a single byte per controller.
For the Birds VI: romhacking.net/homebrew/152
Mystery Gift Program remains unclaimed
NES programming resources:
wiki.nesdev.org/w/index.php
youtube.com/watch?v=JgdcGcJga4w&ab_channel=MichaelChiaramonte
NES by fauzan akbar,
NES Cartridge by iconfield,
Processor by Flatart,
Nes Controller by Billy Sweetman from NounProject.com
Apple II reference manual: http://www.applelogic.org/files/AIIREF.pdf
Emulators:
Windows: AppleWin
github.com/AppleWin/AppleWin
Linux: LinApple
http://linapple.sourceforge.net/index.html
Mac: Virtual ][
virtualii.com
Javascript Online Version:
scullinsteel.com/apple2
BASIC Programming
Watchable guides:
Kurt Leucht - youtube.com/watch?v=1AiUPVIPd0Y&ab_channel=KurtLeucht
Hobby Programming - youtube.com/watch?v=DB04XVOIx98&ab_channel=Hobby.Programming
Readable guides:
Apple II BASIC Reference Manual PDF - tinyurl.com/p25z8jkc
BASIC reference guide - calormen.com/jsbasic/reference.html
Tutorial for beginners - http://www.hoist-point.com/applesoft_basic_tutorial.htm
Assembly Programming:
Assembler Software:
EDASM DOS - https://mirrors.apple2.org.za/ftp.apple.asimov.net/images/programming/assembler/DOSToolkit.dsk
EDASM PRODOS - https://mirrors.apple2.org.za/ftp.apple.asimov.net/images/programming/assembler/ProDos-Editor-Assembler-Release-1.0.1%20%2815-JAN-84%29.dsk
MERLIN ASSEMBLER - https://mirrors.apple2.org.za/ftp.apple.asimov.net/images/programming/assembler/merlin/
Watchable guides
Advanced 6502 Assembly - youtube.com/watch?v=WEliEAc3ZyA
With the Merlin Assembler - youtube.com/watch?v=GG6tfYyzzbM&ab_channel=PJGCreationsLtd-ITConsultant
Readable guides
Apple 6502 Assembler/Editor - archive.org/details/apple-6502-assembler-editor
Using 6502 Assembly Language - archive.org/details/Using_6502_Assembly_Language
(This guide has a very helpful chart of useful subroutines in Appendix A)
High Res Graphics Guide - archive.org/details/Hi-ResGraphicsAndAnimationUsingAssemblyLanguage
Another Useful Graphics Guide - chibiakumas.com/6502/appleii.php
archive.org/details/Assembly_Cookbook_for_the_Apple_II_part_1
archive.org/details/Assembly_Cookbook_for_the_Apple_II_part_2
C2T
github.com/datajerk/c2t
Use in the bin file of this project:
c2t-96h -n8 DISKNAME.DSK AIFFILENAME.aif
The .DSK file here is located in that same bin file, as will be the output, so you can adjust your path as needed
00:00 Getting an Apple II
01:20 Programming in BASIC
02:10 Programming in Assembly
03:40 A few more tips
04:22 Graphics Mode
06:07 Copying Digital Disk to Physical
Download and run: Living Type: The Chinese Word Processor
github.com/InkboxSoftware/LivingType
Junferno: Making a Keyboard for Every Language
youtube.com/watch?v=MBQvN03i4-4
C2T - Convert binary code/data to Apple II disk images
github.com/datajerk/c2t
The website explaining how Apple II graphics work:
chibiakumas.com/6502/appleii.php
方正像素 FZXS12 Font
http://www.foundertype.com/index.php/FontInfo/index/id/208
Want to learn how to program for the Apple IIe?
archive.org/details/Apple_IIe_Reference_Manual
archive.org/details/apple-6502-assembler-editor
archive.org/details/A2_Hyde_6502_Asm_Lang
Download New Kakuji or New Kakuji Bold at: myfonts.com/fonts/edomoji-type/new-kakuji
Origional video: youtu.be/welpJZSPtME
Link to the preface: drive.google.com/file/d/1NOPOKP46Eu6OPeLPXxidzeLXmXw6eZc3/view?usp=sharing
Calligraphy Video: youtube.com/watch?v=8C7W9ItH5Bg
A few other updates I forgot to mention about the font. The character for Yen 円 was added though it was listed in the dictionary under the character 圓, but I mapped it to U+5186. Also, the "|" character (U+007C) has been updated to look like the bar on the right-hand side of the Kakuji page in The Edomoji Dictionary, you can also see it in the video printed on the bookmark I used.
If you enjoyed, please like. More like this coming soon.
GitHub: github.com/InkboxSoftware/PngToGlyph
New Kakuji Font: myfonts.com/fonts/edomoji-type/new-kakuji
www.notin.tokyo
If you want to check out my python script send me an email at inkboxsoftware@notin.tokyo


