v7.git
20 months agoReinstate jsr pc,*#label (not sure why this is done) master
Nick Downing [Fri, 12 Aug 2022 07:16:03 +0000 (17:16 +1000)]
Reinstate jsr pc,*#label (not sure why this is done)

20 months agoMake cc assemble with listing (temporary), truncate __cleanup to __cleanu
Nick Downing [Fri, 12 Aug 2022 07:06:38 +0000 (17:06 +1000)]
Make cc assemble with listing (temporary), truncate __cleanup to __cleanu

20 months agoAdd some analysis of the V7 linker to see link order and symbols, add dump.good.map
Nick Downing [Fri, 12 Aug 2022 06:29:36 +0000 (16:29 +1000)]
Add some analysis of the V7 linker to see link order and symbols, add dump.good.map

20 months agoFix last few undefined symbols in generated executable
Nick Downing [Fri, 12 Aug 2022 06:05:05 +0000 (16:05 +1000)]
Fix last few undefined symbols in generated executable

20 months agoHacky way to create an executable via aslink's bank feature and an ihx file per bank
Nick Downing [Fri, 12 Aug 2022 05:04:16 +0000 (15:04 +1000)]
Hacky way to create an executable via aslink's bank feature and an ihx file per bank

20 months agoAdd /usr/src/cmd/a.sh to test build and link dump.c, and /usr/src/cmd/dump.good ...
Nick Downing [Thu, 11 Aug 2022 16:42:49 +0000 (02:42 +1000)]
Add /usr/src/cmd/a.sh to test build and link dump.c, and /usr/src/cmd/dump.good (because apparently /bin/dump wasn't rebuilt before building the V7 tape)

20 months agoAdd .area text at start of every assembler source, add comm to common area name
Nick Downing [Thu, 11 Aug 2022 15:59:15 +0000 (01:59 +1000)]
Add .area text at start of every assembler source, add comm to common area name

20 months agoCan now link (linker output is in Disk BASIC format for now)
Nick Downing [Thu, 11 Aug 2022 14:13:22 +0000 (00:13 +1000)]
Can now link (linker output is in Disk BASIC format for now)

20 months agoUpdate /bin/aspdp11 so that it does not need the /usr/src/cmd/as.c wrapper
Nick Downing [Thu, 11 Aug 2022 09:34:07 +0000 (19:34 +1000)]
Update /bin/aspdp11 so that it does not need the /usr/src/cmd/as.c wrapper

20 months agoIn asxlat, translate ! to ~ (not operator; used with bic instruction)
Nick Downing [Thu, 11 Aug 2022 07:32:04 +0000 (17:32 +1000)]
In asxlat, translate ! to ~ (not operator; used with bic instruction)

20 months agoFix /usr/src/libc/gen/ldfps.s (no need to define the ldfps instruction ourself)
Nick Downing [Thu, 11 Aug 2022 07:05:46 +0000 (17:05 +1000)]
Fix /usr/src/libc/gen/ldfps.s (no need to define the ldfps instruction ourself)

20 months agoImplement fr0-5 (requires changes to table and new table substitutions)
Nick Downing [Thu, 11 Aug 2022 05:56:03 +0000 (15:56 +1000)]
Implement fr0-5 (requires changes to table and new table substitutions)

20 months agoFurther C compiler syntax changes, use .dw/.ds, replace the old .comm directive
Nick Downing [Thu, 11 Aug 2022 04:55:17 +0000 (14:55 +1000)]
Further C compiler syntax changes, use .dw/.ds, replace the old .comm directive

20 months agoManually apply "asxlat -u" to certain assembly files to fix local labels
Nick Downing [Thu, 11 Aug 2022 04:49:46 +0000 (14:49 +1000)]
Manually apply "asxlat -u" to certain assembly files to fix local labels

20 months agoManually replace .comm directives in assembly code
Nick Downing [Thu, 11 Aug 2022 04:32:21 +0000 (14:32 +1000)]
Manually replace .comm directives in assembly code

20 months agoManual fixups in assembly code
Nick Downing [Thu, 11 Aug 2022 03:08:48 +0000 (13:08 +1000)]
Manual fixups in assembly code

20 months agoAuto-translate all libc assembly sources
Nick Downing [Thu, 11 Aug 2022 04:07:46 +0000 (14:07 +1000)]
Auto-translate all libc assembly sources

20 months agoFix c2 to allow .dw before switch label
Nick Downing [Thu, 11 Aug 2022 02:20:26 +0000 (12:20 +1000)]
Fix c2 to allow .dw before switch label

20 months agoRe-add compiler changes and extra tracing
Nick Downing [Thu, 11 Aug 2022 01:17:14 +0000 (11:17 +1000)]
Re-add compiler changes and extra tracing

20 months agoBack out compiler changes but re-add tracing
Nick Downing [Thu, 11 Aug 2022 01:13:28 +0000 (11:13 +1000)]
Back out compiler changes but re-add tracing

20 months agoFix switch generation, add tracing in getree()
Nick Downing [Thu, 11 Aug 2022 00:58:59 +0000 (10:58 +1000)]
Fix switch generation, add tracing in getree()

20 months agoMuch improved asxxxx code generation
Nick Downing [Wed, 10 Aug 2022 04:31:55 +0000 (14:31 +1000)]
Much improved asxxxx code generation

20 months agoImplement /bin/as wrapper around /bin/aspdp11
Nick Downing [Tue, 9 Aug 2022 06:12:57 +0000 (16:12 +1000)]
Implement /bin/as wrapper around /bin/aspdp11

20 months agoFix some bugs in C compiler asxxxx code generation / optimization
Nick Downing [Mon, 8 Aug 2022 01:40:05 +0000 (11:40 +1000)]
Fix some bugs in C compiler asxxxx code generation / optimization

20 months agoStarting to convert C compiler to asxxxx
Nick Downing [Sun, 7 Aug 2022 01:09:39 +0000 (11:09 +1000)]
Starting to convert C compiler to asxxxx

20 months agoImprove experimental build scripts, add one in /usr/src/libc, add .gitignore
Nick Downing [Sat, 6 Aug 2022 13:47:14 +0000 (23:47 +1000)]
Improve experimental build scripts, add one in /usr/src/libc, add .gitignore

4 years agoExperimental build scripts using apout and binfmt_misc
Nick Downing [Thu, 6 Jun 2019 12:43:31 +0000 (22:43 +1000)]
Experimental build scripts using apout and binfmt_misc

4 years agoPristine unpack of ftp://sunsite.icm.edu.pl/pub/unix/UnixArchive/Distributions/Resear...
Nick Downing [Thu, 6 Jun 2019 12:41:42 +0000 (22:41 +1000)]
Pristine unpack of ftp://sunsite.icm.edu.pl/pub/unix/UnixArchive/Distributions/Research/Henry_Spencer_v7/v7.tar.gz