From: sparky4 Date: Wed, 6 Apr 2016 05:22:01 +0000 (-0500) Subject: w X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=commitdiff_plain;h=2177bf4b67192600b351abd549a43053162e3321 w --- diff --git a/design.txt b/design.txt index 3de430a7..a7ff175f 100755 --- a/design.txt +++ b/design.txt @@ -28,3 +28,32 @@ model, overriding certain functions as being near. In this manner, the stack ch in any code group, which the other code groups can still access. Alternatively, a command-line switch may be used to turn off stack checking, so no stack checking routines get called. " + + +00:00:19 joncampbell123 | okay you're makefile is already using -zu, -zff and other options that I'm │ + | sure would tell Watcom C to separate stack from data segment, but the MAP file │ + | says it's still associating STACK with DGROUP :( │ +00:08:56 joncampbell123 | argh │ +00:10:04 joncampbell123 | sparky, it's probably better to refactor your code not to require so much │ + | stack │ +00:10:20 joncampbell123 | in most of doslib I test and dev the code against far smaller stack sizes, │ + | usually 8KB │ +00:11:03 joncampbell123 | besides you don't want a stack that occupies 1/10th of all conventional memory │ + | in DOS, right? ^^ │ +00:11:50 joncampbell123 | 64KB is a more appropriate stack size if you're targeting 32-bit DOS or Win32, │ + | not 16-bit DOS │ +00:12:34 joncampbell123 | if you need so much storage please try using global variables or memory │ + | allocation, but don't eat up your stack like that │ +00:13:59 joncampbell123 | don't forget you can move a char[] declaration within your function off the │ + | stack by declaring it static │ +00:14:17 joncampbell123 | then it's a local variable that lives in the data segment, not stack + + +00:19:40 joncampbell123 | meaning you go through your functions, locate ones that declare a lot of local │ + | stack storage, │ +00:19:53 joncampbell123 | and refactor them to put the storage elsewhere, other than the stack │ +00:20:03 sparky4_derpy4 | joncampbell123: ah ok ^^ i will!!! │ +00:20:16 sparky4_derpy4 | joncampbell123: look for large variables too? ww │ +00:20:21 joncampbell123 | yes. │ +00:20:29 sparky4_derpy4 | scroll16 needs a bunch of work │ +00:20:29 joncampbell123 | the less you declare on the stack, the less stack the function needs. diff --git a/git_con.fig b/git_con.fig index 927bd4df..9c560e30 100755 --- a/git_con.fig +++ b/git_con.fig @@ -3,13 +3,21 @@ filemode = true bare = false logallrefupdates = true -[remote "origin"] - url = https://github.com/sparky4/16 - fetch = +refs/heads/*:refs/remotes/origin/* +[remote "x4"] + url = ssh://sparky4@4ch.mooo.com:26/var/www/16/16.git + fetch = +refs/heads/*:refs/remotes/x4/* [branch "master"] remote = origin merge = refs/heads/master -[submodule "src/lib/doslib"] - url = https://github.com/joncampbell123/doslib.git -[submodule "src/lib/jsmn"] - url = https://github.com/zserge/jsmn.git +[remote "origin"] + url = git@github.com:sparky4/16.git + fetch = +refs/heads/*:refs/remotes/origin/* +[remote "sf"] + url = ssh://sparky4q@git.code.sf.net/p/project16/code + fetch = +refs/heads/*:refs/remotes/sf/* +[remote "jp"] + url = ssh://sparky4@git.pf.osdn.jp:/gitroot/s/sp/sparky4/project16.git + fetch = +refs/heads/*:refs/remotes/jp/* +[remote "bb"] + url = git@bitbucket.org:sparky4/16.git + fetch = +refs/heads/*:refs/remotes/bb/*