]> 4ch.mooo.com Git - 16.git/commitdiff
w
authorsparky4 <sparky4@cock.li>
Wed, 6 Apr 2016 05:22:01 +0000 (00:22 -0500)
committersparky4 <sparky4@cock.li>
Wed, 6 Apr 2016 05:22:01 +0000 (00:22 -0500)
design.txt
git_con.fig

index 3de430a778da424b1df3867a515c453b541b8934..a7ff175facf2d5e489f701e4ac95e9076906444b 100755 (executable)
@@ -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\r
 be used to turn off stack checking, so no stack checking routines get called.\r
 "\r
 in any code group, which the other code groups can still access.  Alternatively, a command-line switch may\r
 be used to turn off stack checking, so no stack checking routines get called.\r
 "\r
+\r
+\r
+00:00:19   joncampbell123 | okay you're makefile is already using -zu, -zff and other options that I'm     │\r
+                          | sure would tell Watcom C to separate stack from data segment, but the MAP file │\r
+                          | says it's still associating STACK with DGROUP :(                               │\r
+00:08:56   joncampbell123 | argh                                                                           │\r
+00:10:04   joncampbell123 | sparky, it's probably better to refactor your code not to require so much      │\r
+                          | stack                                                                          │\r
+00:10:20   joncampbell123 | in most of doslib I test and dev the code against far smaller stack sizes,     │\r
+                          | usually 8KB                                                                    │\r
+00:11:03   joncampbell123 | besides you don't want a stack that occupies 1/10th of all conventional memory │\r
+                          | in DOS, right? ^^                                                              │\r
+00:11:50   joncampbell123 | 64KB is a more appropriate stack size if you're targeting 32-bit DOS or Win32, │\r
+                          | not 16-bit DOS                                                                 │\r
+00:12:34   joncampbell123 | if you need so much storage please try using global variables or memory        │\r
+                          | allocation, but don't eat up your stack like that                              │\r
+00:13:59   joncampbell123 | don't forget you can move a char[] declaration within your function off the    │\r
+                          | stack by declaring it static                                                   │\r
+00:14:17   joncampbell123 | then it's a local variable that lives in the data segment, not stack \r
+\r
+\r
+00:19:40   joncampbell123 | meaning you go through your functions, locate ones that declare a lot of local │\r
+                          | stack storage,                                                                 │\r
+00:19:53   joncampbell123 | and refactor them to put the storage elsewhere, other than the stack           │\r
+00:20:03   sparky4_derpy4 | joncampbell123: ah ok ^^ i will!!!                                             │\r
+00:20:16   sparky4_derpy4 | joncampbell123: look for large variables too? ww                               │\r
+00:20:21   joncampbell123 | yes.                                                                           │\r
+00:20:29   sparky4_derpy4 | scroll16 needs a bunch of work                                                 │\r
+00:20:29   joncampbell123 | the less you declare on the stack, the less stack the function needs.\r
index 927bd4df91ff632c75c4dc1200c5e0fb3ccc9d97..9c560e3025b45c8ffb8733f1dd3c0dffd6cbf06b 100755 (executable)
@@ -3,13 +3,21 @@
        filemode = true
        bare = false
        logallrefupdates = true
        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
 [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/*