Due to boredom, I’ve been working sick for the past few days, I decided to try to dig out some old code. I could find some binary versions of some ancient Atari ST materials that I wrote, but I could not find any source. I managed to redo the old ModeX library that I wrote in ASM many years ago from the archive of the legendary old x2ftp site:
http://ftp.lanet.lv/ftp/mirror/x2ftp/msdos
An explosion from the past :-)
; Actually Sticks Us Into ModeX - With 240 Scanlines Per Page ; Set The Variable LSCAN To The Virtual Scanline Length You Want ; Trashes AX, CX, DX, DS, SI ; Shouldn't Matter Though As This Should Be The First Thing You Call! Set_X_240 PROC Call Set_Graph ; Set Mode 13h mov dx, Seq_Port mov ax, 00604h ; Index 4 (Memory Mode Reg.) In AL ; Bit 3 = Chain 4 out dx, ax ; Kill Chain 4 Mode mov ax, 00100h ; Index 0 (Reset Reg.) In AL out dx, ax ; Reset Syncronous (At End Of Cycle) dec dx ; Change Port dec dx ; To Misc. S
Does anyone else want to make themselves look old and publish the old school code? :-) I am ashamed that I do not have my 68000 ASM material yet, although I probably would not even recognize it now!
Ahh .. memories :-)
assembly legacy-code 68000
Steven robbins
source share