]> 4ch.mooo.com Git - 16.git/log
16.git
8 years agosave/restore AX/BX when calling BIOS to get ROM font.
Jonathan Campbell [Thu, 21 Apr 2016 13:59:46 +0000 (06:59 -0700)]
save/restore AX/BX when calling BIOS to get ROM font.

8 years agoshinku() needs ROM font to modexprint. make sure to fetch it.
Jonathan Campbell [Thu, 21 Apr 2016 13:59:12 +0000 (06:59 -0700)]
shinku() needs ROM font to modexprint. make sure to fetch it.

8 years agoreplace inline asm with _fmemcpy to copy ROM font char.
Jonathan Campbell [Thu, 21 Apr 2016 13:31:23 +0000 (06:31 -0700)]
replace inline asm with _fmemcpy to copy ROM font char.
add reminder that it might be faster for modexDrawChar to point
directly at ROM font char.

the reason for replacing the inline assembly is that the original
code acted without saving/restoring CPU registers that the C compiler
optimization stage assumes holds results from previous C compiler
generated code. corruptiong the optimizer's expectations is the reason
why all code using modex (and assuming things about DS and ES) is the
reason all game code was blowing up. this fix makes things stable again.

8 years agorepo sync
sparky4 [Wed, 20 Apr 2016 16:03:40 +0000 (11:03 -0500)]
repo sync

8 years agorepo sync and i did some debugging ww
sparky4 [Wed, 20 Apr 2016 15:47:21 +0000 (10:47 -0500)]
repo sync and i did some debugging ww

8 years agoremove wraparound check in modex print, add addr adjust for newline.
Jonathan Campbell [Wed, 20 Apr 2016 11:34:10 +0000 (04:34 -0700)]
remove wraparound check in modex print, add addr adjust for newline.
FONTGFX.EXE now prints the ascii rose in mode X, though the ASCII art
is too wide for 320x240 mode.

8 years ago16.c needs to probe DOS and VGA before using modex library. -repo sync-
sparky4 [Mon, 18 Apr 2016 21:06:43 +0000 (16:06 -0500)]
16.c needs to probe DOS and VGA before using modex library. -repo sync-

8 years ago16.c needs to probe DOS and VGA before using modex library. -repo sync-
sparky4 [Mon, 18 Apr 2016 17:24:44 +0000 (12:24 -0500)]
16.c needs to probe DOS and VGA before using modex library. -repo sync-

8 years ago16.c needs to probe DOS and VGA before using modex library. -repo sync-
sparky4 [Mon, 18 Apr 2016 17:18:04 +0000 (12:18 -0500)]
16.c needs to probe DOS and VGA before using modex library. -repo sync-

8 years ago16.c needs to probe DOS and VGA before using modex library. -repo sync-
sparky4 [Mon, 18 Apr 2016 17:02:56 +0000 (12:02 -0500)]
16.c needs to probe DOS and VGA before using modex library. -repo sync-

8 years ago16.c needs to probe DOS and VGA before using modex library. -repo sync-
sparky4 [Mon, 18 Apr 2016 16:57:34 +0000 (11:57 -0500)]
16.c needs to probe DOS and VGA before using modex library. -repo sync-

8 years ago16.c needs to probe DOS and VGA before using modex library. -repo sync-
sparky4 [Mon, 18 Apr 2016 16:54:46 +0000 (11:54 -0500)]
16.c needs to probe DOS and VGA before using modex library. -repo sync-

8 years ago16.c needs to probe DOS and VGA before using modex library. -repo sync-
sparky4 [Mon, 18 Apr 2016 16:45:41 +0000 (11:45 -0500)]
16.c needs to probe DOS and VGA before using modex library. -repo sync-

8 years ago16.c needs to probe DOS and VGA before using modex library.
Jonathan Campbell [Sun, 17 Apr 2016 06:58:17 +0000 (23:58 -0700)]
16.c needs to probe DOS and VGA before using modex library.
now it works without crashing.

8 years agoclear video RAM using pointer set after INT 10h + vga update, not
Jonathan Campbell [Sun, 17 Apr 2016 06:53:43 +0000 (23:53 -0700)]
clear video RAM using pointer set after INT 10h + vga update, not
before. this fixes scribbling over VGA ROM BIOS and possible DOSBox
UMB corruption.

8 years agomodex mode 1 is 320x240 so make sure it's 320 across.
Jonathan Campbell [Sun, 17 Apr 2016 06:33:16 +0000 (23:33 -0700)]
modex mode 1 is 320x240 so make sure it's 320 across.

8 years ago let's show Sparky4 what I mean by vertical column font rendering. Repo sync.
sparky4 [Mon, 18 Apr 2016 05:46:30 +0000 (00:46 -0500)]
 let's show Sparky4 what I mean by vertical column font rendering. Repo sync.

8 years ago let's show Sparky4 what I mean by vertical column font rendering. Repo sync.
sparky4 [Mon, 18 Apr 2016 05:34:13 +0000 (00:34 -0500)]
 let's show Sparky4 what I mean by vertical column font rendering. Repo sync.

8 years agolet's show Sparky4 what I mean by vertical column font rendering.
Jonathan Campbell [Sun, 17 Apr 2016 05:29:15 +0000 (22:29 -0700)]
let's show Sparky4 what I mean by vertical column font rendering.
this code should demonstrate what I mean about minimizing our writes to
the map mask register and using arithmetic to step from byte to byte.
at least in DOSBox-X, the characters appear much faster now.

8 years agojoncampbell123 HELP./wbuild.sh
sparky4 [Mon, 18 Apr 2016 04:50:13 +0000 (23:50 -0500)]
joncampbell123 HELP./wbuild.sh

8 years agojoncampbell123 i tried ww
sparky4 [Mon, 18 Apr 2016 04:46:27 +0000 (23:46 -0500)]
joncampbell123 i tried ww

8 years agojoncampbell123 i tried ww
sparky4 [Mon, 18 Apr 2016 04:40:23 +0000 (23:40 -0500)]
joncampbell123 i tried ww

8 years agojoncampbell123 i tried ww
sparky4 [Mon, 18 Apr 2016 04:31:23 +0000 (23:31 -0500)]
joncampbell123 i tried ww

8 years agodon't use printf. use modexprint. explain why. fontgfx shows grid of
Jonathan Campbell [Sun, 17 Apr 2016 03:34:29 +0000 (20:34 -0700)]
don't use printf. use modexprint. explain why. fontgfx shows grid of
font chars correctly now. not sure what the long pause at startup is.

8 years agofont fack!
sparky4 [Mon, 18 Apr 2016 02:29:41 +0000 (21:29 -0500)]
font fack!

8 years agofont fack!
sparky4 [Mon, 18 Apr 2016 02:22:22 +0000 (21:22 -0500)]
font fack!

8 years agofont fack!
sparky4 [Mon, 18 Apr 2016 02:17:40 +0000 (21:17 -0500)]
font fack!

8 years agofont fack!
sparky4 [Mon, 18 Apr 2016 02:15:10 +0000 (21:15 -0500)]
font fack!

8 years agofont fack!
sparky4 [Mon, 18 Apr 2016 02:12:38 +0000 (21:12 -0500)]
font fack!

8 years agostride..
sparky4 [Mon, 18 Apr 2016 02:06:17 +0000 (21:06 -0500)]
stride..

8 years agostride..
sparky4 [Mon, 18 Apr 2016 02:05:32 +0000 (21:05 -0500)]
stride..

8 years agostride..
sparky4 [Mon, 18 Apr 2016 02:04:24 +0000 (21:04 -0500)]
stride..

8 years agostride..
sparky4 [Mon, 18 Apr 2016 02:01:17 +0000 (21:01 -0500)]
stride..

8 years agofontgfx.exe workings
sparky4 [Mon, 18 Apr 2016 01:01:18 +0000 (20:01 -0500)]
fontgfx.exe workings

8 years agofailed fontgfxtest.exe
sparky4 [Mon, 18 Apr 2016 00:31:18 +0000 (19:31 -0500)]
failed fontgfxtest.exe

8 years agofailed fontgfxtest.exe
sparky4 [Mon, 18 Apr 2016 00:28:23 +0000 (19:28 -0500)]
failed fontgfxtest.exe

8 years agofailed fontgfxtest.exe
sparky4 [Sun, 17 Apr 2016 23:50:37 +0000 (18:50 -0500)]
failed fontgfxtest.exe

8 years agodang it./wbuild.sh
sparky4 [Sun, 17 Apr 2016 23:19:42 +0000 (18:19 -0500)]
dang it./wbuild.sh

8 years agoMerge branch 'master' of github.com:sparky4/16
sparky4 [Sun, 17 Apr 2016 22:29:28 +0000 (17:29 -0500)]
Merge branch 'master' of github.com:sparky4/16

8 years agowwww
sparky4 [Sun, 17 Apr 2016 22:28:58 +0000 (17:28 -0500)]
wwww

8 years agoMerge branch 'master' of github.com:sparky4/16
sparky4 [Sun, 17 Apr 2016 22:02:56 +0000 (17:02 -0500)]
Merge branch 'master' of github.com:sparky4/16

8 years agoscroll.exe is minimal now ww
sparky4 [Sun, 17 Apr 2016 21:26:54 +0000 (16:26 -0500)]
scroll.exe is minimal now ww

8 years agoremoved unneccessary pointers ww
sparky4 [Sun, 17 Apr 2016 21:22:57 +0000 (16:22 -0500)]
removed unneccessary pointers ww

8 years agowwww init player www
sparky4 [Sun, 17 Apr 2016 21:15:32 +0000 (16:15 -0500)]
wwww init player www

8 years agoscroll.c is hard ww
sparky4 [Sun, 17 Apr 2016 20:55:33 +0000 (15:55 -0500)]
scroll.c is hard ww

8 years agowwww
sparky4 [Sun, 17 Apr 2016 20:40:23 +0000 (15:40 -0500)]
wwww

8 years agowwww
sparky4 [Sun, 17 Apr 2016 20:25:10 +0000 (15:25 -0500)]
wwww

8 years agovga_wait_for_vsync();
sparky4 [Sun, 17 Apr 2016 20:15:41 +0000 (15:15 -0500)]
vga_wait_for_vsync();

8 years agovga_wait_for_vsync();
sparky4 [Sun, 17 Apr 2016 20:11:07 +0000 (15:11 -0500)]
vga_wait_for_vsync();

8 years agowwww
sparky4 [Sun, 17 Apr 2016 19:15:29 +0000 (14:15 -0500)]
wwww

8 years agowwww
sparky4 [Sun, 17 Apr 2016 18:28:25 +0000 (13:28 -0500)]
wwww

8 years agoMerge branch 'master' of github.com:sparky4/16
sparky4 [Fri, 15 Apr 2016 21:22:39 +0000 (16:22 -0500)]
Merge branch 'master' of github.com:sparky4/16

8 years agocleanuped ^^
sparky4 [Fri, 15 Apr 2016 21:22:17 +0000 (16:22 -0500)]
cleanuped ^^

8 years agoMerge branch 'master' of github.com:sparky4/16
sparky4 [Fri, 15 Apr 2016 20:36:06 +0000 (15:36 -0500)]
Merge branch 'master' of github.com:sparky4/16

8 years ago^^/ yayvrsdump data/spri/ptmp.vrs wwww
sparky4 [Fri, 15 Apr 2016 19:35:33 +0000 (14:35 -0500)]
^^/ yayvrsdump data/spri/ptmp.vrs wwww

8 years agoMerge branch 'master' of github.com:sparky4/16
sparky4 [Fri, 15 Apr 2016 16:58:37 +0000 (11:58 -0500)]
Merge branch 'master' of github.com:sparky4/16

8 years agoi now await joncampbell321 for the finishing of the sht format ^^
sparky4 [Fri, 15 Apr 2016 16:58:36 +0000 (11:58 -0500)]
i now await joncampbell321 for the finishing of the sht format ^^

8 years ago modified: src/inputest.c
sparky4 [Fri, 15 Apr 2016 16:58:26 +0000 (11:58 -0500)]
modified:   src/inputest.c
modified:   src/lib/16_in.c

8 years agoMerge branch 'master' of github.com:sparky4/16
sparky4 [Fri, 15 Apr 2016 16:55:25 +0000 (11:55 -0500)]
Merge branch 'master' of github.com:sparky4/16

8 years agoi now await joncampbell321 for the finishing of the sht format ^^
sparky4 [Fri, 15 Apr 2016 16:55:12 +0000 (11:55 -0500)]
i now await joncampbell321 for the finishing of the sht format ^^

8 years ago new file: 16.exe
sparky4 [Fri, 15 Apr 2016 16:52:25 +0000 (11:52 -0500)]
new file:   16.exe
new file:   bakapi.exe
deleted:    data/spri/ED.PAL
deleted:    data/spri/PTMP.PAL
deleted:    data/spri/PTMP1.PAL
new file:   data/spri/ptmp.sht
new file:   data/spri/ptmp.vrs
new file:   exmmtest.exe
new file:   fmemtest.exe
new file:   fontgfx.exe
new file:   fonttest.exe
new file:   inputest.exe
deleted:    makefile
new file:   maptest.exe
new file:   palettec.exe
new file:   palettel.exe
new file:   pcx2vrl
new file:   pcxsscut
new file:   pcxtest.exe
new file:   pcxtest2.exe
new file:   planrpcx.exe
new file:   ptmp.h
new file:   ptmps.h
new file:   scroll.exe
deleted:    spri.bat
new file:   spri.sh
modified:   src/inputest.c
modified:   src/lib/16_in.c
new file:   test.exe
new file:   test2.exe
new file:   tesuto.exe
new file:   vgmtest.exe
new file:   vrl2vrs
new file:   vrsdump

8 years ago new file: 16.exe
sparky4 [Fri, 15 Apr 2016 16:51:29 +0000 (11:51 -0500)]
new file:   16.exe
new file:   bakapi.exe
deleted:    data/spri/ED.PAL
deleted:    data/spri/PTMP1.PAL
new file:   data/spri/ptmp.sht
new file:   data/spri/ptmp.vrs
new file:   exmmtest.exe
new file:   fmemtest.exe
new file:   fontgfx.exe
new file:   fonttest.exe
new file:   inputest.exe
modified:   makefile
new file:   maptest.exe
new file:   palettec.exe
new file:   palettel.exe
new file:   pcx2vrl
new file:   pcxsscut
new file:   pcxtest.exe
new file:   pcxtest2.exe
new file:   planrpcx.exe
new file:   ptmp.h
new file:   ptmps.h
new file:   scroll.exe
deleted:    spri.bat
new file:   spri.sh
new file:   test.exe
new file:   test2.exe
new file:   tesuto.exe
new file:   vgmtest.exe
new file:   vrl2vrs
new file:   vrsdump

8 years agoi now await joncampbell321 for the finishing of the sht format ^^
sparky4 [Fri, 15 Apr 2016 16:34:43 +0000 (11:34 -0500)]
i now await joncampbell321 for the finishing of the sht format ^^

8 years agognu version of the programs found ^^
sparky4 [Fri, 15 Apr 2016 15:45:55 +0000 (10:45 -0500)]
gnu version of the programs found ^^

8 years agoadded vrl2vrs.exe and pcxscut to the repo ^^
sparky4 [Fri, 15 Apr 2016 15:18:03 +0000 (10:18 -0500)]
added vrl2vrs.exe and pcxscut to the repo ^^

8 years agostack overflow issue with sprite compiling... wwww
sparky4 [Mon, 11 Apr 2016 15:47:12 +0000 (10:47 -0500)]
stack overflow issue with sprite compiling... wwww

8 years agostack overflow issue with sprite compiling... wwww
sparky4 [Mon, 11 Apr 2016 15:43:22 +0000 (10:43 -0500)]
stack overflow issue with sprite compiling... wwww

8 years agowwww
sparky4 [Mon, 11 Apr 2016 15:23:04 +0000 (10:23 -0500)]
wwww

8 years agowwww
sparky4 [Mon, 11 Apr 2016 15:20:26 +0000 (10:20 -0500)]
wwww

8 years agowwww
sparky4 [Mon, 11 Apr 2016 15:05:50 +0000 (10:05 -0500)]
wwww

8 years agowwwww
sparky4 [Mon, 11 Apr 2016 14:51:49 +0000 (09:51 -0500)]
wwwww

8 years agowwww
sparky4 [Mon, 11 Apr 2016 14:39:32 +0000 (09:39 -0500)]
wwww

8 years agodesign ww
sparky4 [Sun, 10 Apr 2016 20:14:11 +0000 (15:14 -0500)]
design ww

8 years agoww
sparky4 [Fri, 8 Apr 2016 18:51:32 +0000 (13:51 -0500)]
ww

8 years agoww
sparky4 [Fri, 8 Apr 2016 16:46:25 +0000 (11:46 -0500)]
ww

8 years agobakapi.exe wwww
sparky4 [Thu, 7 Apr 2016 21:35:24 +0000 (16:35 -0500)]
bakapi.exe wwww

8 years agowwww
sparky4 [Wed, 6 Apr 2016 19:04:00 +0000 (14:04 -0500)]
wwww

8 years agowww oops wwww
sparky4 [Wed, 6 Apr 2016 16:22:52 +0000 (11:22 -0500)]
www oops wwww

8 years agocleanings ww
sparky4 [Wed, 6 Apr 2016 14:06:33 +0000 (09:06 -0500)]
cleanings ww

8 years agow
sparky4 [Wed, 6 Apr 2016 05:22:01 +0000 (00:22 -0500)]
w

8 years agoreduce stack size. Watcom C makes STACK part of DGROUP and will error
Jonathan Campbell [Wed, 6 Apr 2016 17:14:33 +0000 (10:14 -0700)]
reduce stack size. Watcom C makes STACK part of DGROUP and will error
out if DGROUP exceeds 64KB. I can't find the switches or options to not
make STACK part of DGROUP. 55KB of stack is overkill for 16-bit DOS
anyway.

8 years agosame dos/cpu/vga probe for scroll.c
Jonathan Campbell [Wed, 6 Apr 2016 16:25:42 +0000 (09:25 -0700)]
same dos/cpu/vga probe for scroll.c

but apparently some function or data structure is making the DGROUP
segment too large for Watcom to swallow :(

8 years agovgaGetMode/vgaSetMode just call DOSLIB int10 mode functions.
Jonathan Campbell [Wed, 6 Apr 2016 16:18:05 +0000 (09:18 -0700)]
vgaGetMode/vgaSetMode just call DOSLIB int10 mode functions.

8 years agocleanup and consolidate some mode-X code modesetting.
Jonathan Campbell [Wed, 6 Apr 2016 16:14:59 +0000 (09:14 -0700)]
cleanup and consolidate some mode-X code modesetting.
reminders to self.

8 years agouse write sequencer function
Jonathan Campbell [Wed, 6 Apr 2016 16:06:16 +0000 (09:06 -0700)]
use write sequencer function

8 years agouse doslib to change HSYNC/VSYNC polarity and ensure 25MHz clock.
Jonathan Campbell [Wed, 6 Apr 2016 16:02:53 +0000 (09:02 -0700)]
use doslib to change HSYNC/VSYNC polarity and ensure 25MHz clock.

8 years agowwww
sparky4 [Tue, 5 Apr 2016 19:19:52 +0000 (14:19 -0500)]
wwww

8 years agomake corrections to crtc parameters for 320x240.
Jonathan Campbell [Tue, 5 Apr 2016 20:24:53 +0000 (13:24 -0700)]
make corrections to crtc parameters for 320x240.

8 years agowwww
sparky4 [Tue, 5 Apr 2016 05:01:16 +0000 (00:01 -0500)]
wwww

8 years agohorizintal? ^^
sparky4 [Mon, 4 Apr 2016 21:40:42 +0000 (16:40 -0500)]
horizintal? ^^

8 years agowwww initiation of conversion ww
sparky4 [Mon, 4 Apr 2016 20:59:58 +0000 (15:59 -0500)]
wwww initiation of conversion ww

8 years agowwww
sparky4 [Mon, 4 Apr 2016 20:23:05 +0000 (15:23 -0500)]
wwww

8 years agowwww
sparky4 [Mon, 4 Apr 2016 19:55:54 +0000 (14:55 -0500)]
wwww

8 years agocm-
sparky4 [Mon, 4 Apr 2016 19:41:34 +0000 (14:41 -0500)]
cm-

8 years agocm-
sparky4 [Mon, 4 Apr 2016 19:36:38 +0000 (14:36 -0500)]
cm-

8 years agowwww updated sheet ww
sparky4 [Mon, 4 Apr 2016 19:11:14 +0000 (14:11 -0500)]
wwww updated sheet ww

8 years agowwww fixed www
sparky4 [Mon, 4 Apr 2016 19:04:39 +0000 (14:04 -0500)]
wwww fixed www

8 years ago=error= ww src/lib/modex16.h(86): Error! E1024: Declared symbol 'modexEnter' is not...
sparky4 [Mon, 4 Apr 2016 18:34:28 +0000 (13:34 -0500)]
=error= ww src/lib/modex16.h(86): Error! E1024: Declared symbol 'modexEnter' is not in parameter list

8 years agomakefile updated ww
sparky4 [Mon, 4 Apr 2016 17:10:04 +0000 (12:10 -0500)]
makefile updated ww

8 years agomeeeeeeeeeee
sparky4 [Mon, 4 Apr 2016 15:34:33 +0000 (10:34 -0500)]
meeeeeeeeeee