🌗 將《德軍總部 3D》移植至 Game Boy Color:自製硬體與軟體的挑戰
➤ 從零開始打造自製卡匣與移植經典遊戲的硬體實踐
https://www.happydaze.se/wolf/
本文記錄了開發者 agranlund 如何透過自製硬體卡匣,成功將經典射擊遊戲《德軍總部 3D》(Wolfenstein 3D) 移植至 Game Boy Color 的全過程。開發者不僅親手設計 PCB 電路板,更克服了使用市售晶片的限制,轉而採用 ATF1502 CPLD 來模擬任天堂經典的 MBC1 記憶體管理控制器。從選擇 ARM Cortex-M0 微控制器、構思 ROM bank 切換機制,到實現密碼存檔與遊戲優化,這項計畫不僅是遊戲移植,更是一場深入探討硬體設計與逆向工程的學習之旅。
+ 這簡直太驚人了!我一直以為這種移植需要極度專業的硬體知識,沒想到開發者是從「學習 PCB 設計」的初學者心態出發的。
+ 看到能用市售零件完全替代掉需要從舊卡匣拆卸的 MBC 晶片,對於硬體收藏愛好者來說簡直是福音,這讓復古遊戲的維護
#復古遊戲開發 #硬體設計 #CPLD #嵌入式系統
Wolf | www.happydaze.se

IT WORKS!!!

With a bit of effort I can now receive data from the UART on my keyboard controller, into the CPLD and read it form BASIC on my 6502 laptop revision b (slim version).

I've set the Keyboard controller to output characters from $20 to $7F, here you can see them being shown.

There is also a "new data received" status register too!

#CPLD #LT6502B

Well the CPLD UART is coming along, another big step... Now when it's done receiving a byte, it transfers it to a register, which can then be read at anytime by the CPU. So that the CPU doesn't read garbage if it tries to read mid transfer (double buffer).

more to do yet as I need two such registers and I also want the register to be cleared once it's been read, but this is BIG progress.

This is all done in WINCUPL, not VHDL/Verilog.

#CPLD #LT6502b

Ok, so, I have the next part working of my CPLD UART... it now populates a buffer, with the correct values!!
Green = serial in (LSB first),
Orange is parallel out (LSB at the bottom)

Next step is to transfer that to a register that can be read!

I will probably up my sample clock to 16x, as that seems like the common thing, and 4x may not be 100% reliable. But for simulation, 4x is enough.

#CPLD #LT6502b

Fun with WinSim.

After much battling with dodgy tools from the 90s, I've now got two useful signals. One to start the UART receive and it's counter, and one to stop when the 10th bit is received.

Tomorrow, shift register to capture the bits.

#Retrocomputing #LT6502b #CPLD

Performances sur ordonnance

Les sportifs de haut niveau sont des grands malades. C'est du moins ce qui transparaît du bilan annuel du CPLD (Conseil de prévention et de lutte contre le dopage), qui dirige la recherche autour du dopage. (...)

Le CPLD fait un "état des lieux en demi-teinte"

Le Conseil de prévention et de lutte contre le dopage (CPLD) a dressé un

Making a brand-new ZX MAX 128 ZX Spectrum clone for charity! Don Superfo's neater design uses a CPLD to replace the Harlequin logic — not all plain sailing, but the build is brilliant. Perfect for retro fans and makers. #ZXSpectrum #ZXMAX128 #RetroComputing #Homebrew #CPLD #Charity #RetroTech #English
https://bluefox.video/videos/watch/81b0c41f-a25e-4344-aeb7-85c7cbd3a31f
ZX MAX 128 ZX Spectrum Clone Build

PeerTube
Hein Verbruggen jette un froid

(...) Hein Verbruggen, président de l'Union cycliste internationale (UCI), n'a pas daigné se déplacer jusqu'à Copenhague pour assister aux travaux de la Conférence mondiale antidopage. Il a préféré déléguer l'avocat de l'UCI pour monter à la tribune cet après-midi et a fait diffuser un communiqué où il souffle le chaud (