I wrote sengoku battle game in PDP11 (assembler language) a few years back. Not sure how many people are interested in the source code but I put it below. ;;;game program for PDP-11, battle in the Sengoku period ;;;programed by Duke Software, 2003 CHIN = 172020 SETCOLOR = 172060 DRAWLINE = 172074 FILLRECT = 172104 FILLARCT = 172114 CLRSCREEN = 172130 VRAM = 160000 ENDVRAM = 167636 FIRSTMESVRAM = 163430 INFNAMEVRAM = 165000 CHADATVRAM = 165240 OTHERCHADATVRAM = 165400 SHIFTNAMEVRAM = 2 SHIFTABVRAM = 46 SHIFTSOLVRAM = 56 SHIFTMORVRAM = 64 SHIFTTYPVRAM = 72 MESVRAM = 167500 TURNVRAM = 167524 WINMESVRAM = 167526 TURNNUMBERVRAM = 165110 VRAMLOOP = 240 ;one loop of the VRAM number INFAREAYVRAM = 256. INFTEAM0XVRAM = 0. INFTEAM1XVRAM = 480. TEAM0FACEXADRESS= 320. TEAM1FACEXADRESS= 415. FACEYADRESS = 256. MAXCHARANUMBER = 30. MAXTEAM0NUMBER = 14. MAXMORALE = 120. MAPSIZE = 1280. TWICEMAPSIZE = 2560. MAXXPOS = 79. MAXYPOS = 15. MINXPOS = 0
IT関連の技術やプログラミングを中心に記事を書いています。ハードウェアも好きなので、日々のちょっとしたお役立ち情報も投稿しています。