warren.toomey
9d231d4aa7
Added nopatch command line arg so we can re-assemble without repatching.
2008-05-07 02:55:32 +00:00
warren.toomey
b5a8011b93
Made core patches and optional patches. Modified tools/rebuild to deal with
...
these. Modified patches/core/v2_as.patch so that we no longer need sys1.s,
and changed tools/assemv2 to no longer create sys1.s.
2008-05-07 02:44:19 +00:00
warren.toomey
65419678e6
Makefile now builds apout.
2008-05-07 01:02:35 +00:00
warren.toomey
7cbe3f57f5
also added a check that apout binary exists.
2008-05-07 00:30:06 +00:00
warren.toomey
dee768093b
Make sure user has built and installed pdp11.
2008-05-07 00:28:30 +00:00
tim.newsham
3dbcf2df9a
- the divide workaround for v7 "as" is no longer required now that
...
we're using the v2 "as".
2008-05-07 00:27:09 +00:00
tim.newsham
63bcc8b6ad
- got rid of assemv2.cfg now that we have fixed paths.
2008-05-07 00:16:04 +00:00
warren.toomey
6c4d4c3489
added warning about missing assemv2.cfg file.
2008-05-07 00:04:23 +00:00
warren.toomey
cb4ff68ce4
Create build/ if it doesn't exist.
2008-05-07 00:03:43 +00:00
tim.newsham
181683935c
- oops, outdated comments, updated.
2008-05-06 23:55:11 +00:00
warren.toomey
fc92776990
Just so we can build mkfs and ml easily. We can add it to docos later on.
2008-05-06 23:45:15 +00:00
warren.toomey
b4c3cdca38
Add V2 bin/strip to list.
2008-05-06 23:32:26 +00:00
warren.toomey
896dbd998a
Import of wkt's apout src tree into svn.
2008-05-06 23:25:22 +00:00
tim.newsham
7c98a7ab7d
- remove old tool. use ml.c instead.
2008-05-06 23:12:09 +00:00
tim.newsham
e9718f569f
- get rid of dated tools.
...
sys1.s was needed only for assemv7.
use assemv2 instead of assemv7 or assem.
2008-05-06 23:10:54 +00:00
tim.newsham
92b192ed1e
- Fixed tools/as to use the v2 assembler instead of the v7 assembler,
...
which also required some tweaks to tools/fixaout.py
- update init patch to use v2 assembler and also added my patch to
use tty8.
2008-05-06 23:09:07 +00:00
warren.toomey
81acfd9158
We can now use the v2 assembler to build the kernel.
2008-05-06 15:31:54 +00:00
warren.toomey
4708ab7582
When I turn on I_SETUID I also need to enable I_EXEC!
2008-05-06 09:22:51 +00:00
warren.toomey
29bef31630
Added debug argument. Added code to parse a file with V1 permissions.
...
I can't work out why ls -l isn't showing the timestamp yet.
2008-05-06 08:57:25 +00:00
warren.toomey
d7e79605d4
Added a quick check that we are running this in the correct directory.
2008-05-06 07:12:18 +00:00
warren.toomey
9d6a94647e
Initial version of script to build rf0.dsk and rk0.dsk images.
2008-05-06 07:10:21 +00:00
warren.toomey
0d0f25004d
Added initial support for loading symbol table from 0407 binary.
2008-05-06 01:09:49 +00:00
warren.toomey
b92faa0a87
Adjustments to the # of arguments to certain syscalls.
2008-05-06 00:04:55 +00:00
warren.toomey
89310bf9c8
Added my half-written disassembler, in case someone else can help finish it.
2008-05-05 05:01:27 +00:00
warren.toomey
e04b1ad0d0
Added <stdint.h> to keep Linux happy. Don't make /dev/ on rk images.
...
Initial support for large files, up to 1 indirect block only, i.e. up
to 128K filesize.
2008-05-05 00:09:14 +00:00
tim.newsham
3a86623164
- getting closer to building our own init.
2008-05-04 23:11:06 +00:00
tim.newsham
73628d7ea4
- initial import for OCR of section e12 -- init.s
2008-05-04 23:04:27 +00:00
tim.newsham
ae27d1b693
- some more instructions.
2008-05-04 22:22:20 +00:00
tim.newsham
c0adf32ada
- some helpers for building userland code. Very hacky at the moment but
...
should work until something better comes along.
2008-05-04 22:20:08 +00:00
tim.newsham
5ed8f7c3ae
- added an optional patch for running 0407 a.out binaries
...
- fixed "rebuild" to take a list of optional patches.
2008-05-04 20:14:47 +00:00
tim.newsham
75d9e5ad52
- cleaned up the build process some
...
- use patches instead of sed hacks.
- comments for all patches, and each one separated.
- apply patches as part of "rebuild" instead of in assemv7.
2008-05-04 18:52:38 +00:00
warren.toomey
881021aa25
Made cosmetic changes to get ml.c to compile with gcc -Wall
2008-05-04 14:59:00 +00:00
warren.toomey
6ff6ad4df2
Changed the TODO comments; allow more than RF_INODES on the RK image.
2008-05-04 14:56:12 +00:00
warren.toomey
2ff30c5f24
We can finally mount the images on warm V1 UNIX! A directory's size
...
is not the size of the allocated blocks, but the size in bytes of the
number of entries currently in-use.
2008-05-04 14:22:40 +00:00
warren.toomey
e4d6b57641
Added some more comments.
2008-05-04 09:08:20 +00:00
warren.toomey
cb327be1b8
Added code to ensure that /'s nlink count is correct.
2008-05-04 08:53:56 +00:00
warren.toomey
fbeb9842db
wkt: I fixed the bugs in writing out the map sizes in the superblock.
...
I'm now initialising the special 40 inodes, and creating /dev. It still
doesn't boot, even tho the cold UNIX image does. But getting there.
Changed code so that we can make dirs of any # of blocks. Still trying
to make it look like cold UNIX image.
Closer, I can now allocate 4864 RK blocks, not quite 4872.
2008-05-04 01:16:36 +00:00
tim.newsham
637caf0a5e
- oops, forgot to be explicit about the endian.
2008-05-03 20:27:30 +00:00
brad@heeltoe.com
ffc33b4b4c
added include to mkfs.c for linux
...
cleaned up set in assem
fixed rk3->rk0 in simh.cfg
2008-05-03 14:36:51 +00:00
brad@heeltoe.com
aa16294b7f
added sed for asm math bug; added sym for fpsym
2008-05-03 10:41:27 +00:00
tim.newsham
8dc2e0102c
- apparently perms on s2 bits werent preserved so mktape is now
...
using the original readme file to restore the permissions
- regenerated tape with proper perms.
2008-05-03 03:20:57 +00:00
tim.newsham
68e16df5d7
- separated config file
...
- added cold as a cmd line option.
2008-05-03 01:44:56 +00:00
tim.newsham
bcd32b5fbf
- Warren's mkfs tool for poplating a new filesystem.
2008-05-02 23:53:02 +00:00
tim.newsham
0f3f3ee465
- hack to work around unsigned division in v7 assembler that behaves
...
differently than division in v2 assembler. This one is fragile and
will break if the labels move around...
2008-05-02 22:35:14 +00:00
tim.newsham
62c98d5ab8
- updated based on assemv7
2008-05-02 21:28:08 +00:00
tim.newsham
709ecd397a
- make assemv7 run brad's "ml" tool to generate a loadfile when its done
...
- added my simh.cfg file. Can be run directly if pdp11 is in tools/pdp11
2008-05-02 20:55:34 +00:00
tim.newsham
c18923d2b9
- generate name list after assembling
2008-05-02 19:14:45 +00:00
tim.newsham
1f53d27349
- uncomment "read" in sys1.s.
...
- added tool for building with v7 'as' using apout.
2008-05-02 18:57:37 +00:00
brad@heeltoe.com
06d199c019
added a.out conversion program
2008-05-02 10:28:31 +00:00
tim.newsham
f4f2ecadc8
- oops, need to start output at block #65
2008-05-02 05:13:38 +00:00