Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Difference From 2a11db3ffe41df6d To 1bec0d528f671d99
2017-12-09
| ||
12:12 | Assorted improvements to the CC8 README check-in: 0760dcee6b user: tangent tags: trunk | |
01:25 | Rebuilt cc8.tu56 in case the buffer overrun in txt2ptp affected its content. check-in: 2a11db3ffe user: tangent tags: trunk | |
2017-12-08
| ||
23:38 | Double size of obuf. Worst case of "need one more output buffer character space to accomodate adding \r before \n" check-in: 18fb7d3bb4 user: poetnerd tags: trunk | |
2017-10-20
| ||
00:09 | Clarified example commentary in the U/W FOCAL supplement check-in: 066aaa6b7c user: tangent tags: trunk | |
2017-10-19
| ||
21:25 | 44 Patches, all but one verified against source. The one un-verified one is for FRTS.SV, which is recommended. I just cant figure out how to build FRTS from source to verify it. mkos8 successfully applies them all. patch_list.txt names all patches, comments out non-recommended ones and says why. check-in: 1bec0d528f user: poetnerd tags: trunk | |
2017-10-18
| ||
20:41 | Reverted Unix -> DOS line ending change for src/*.in: autosetup blindly assumes Unix line endings and emits mixed line endings when *.in has DOS line endings as it passes input CRs through on lines it doesn't touch and fails to include a CR on the lines it rewrites. The symptom is that you get a confusing compiler error in gpio-common.c. check-in: 860fd189d5 user: tangent tags: trunk | |
Deleted .agignore.
| - - |
|
Changes to .fossil-settings/crlf-glob.
|
Deleted .ignore.
| - |
|
Changes to COPYING.md.
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + | # Licenses The PiDP-8/I software distribution is an agglomeration of software from multiple sources. Several different licenses apply to its parts. This file guides you to those individual licenses. |
Changes to ChangeLog.md.
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | - + - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - + - - - - - - - - + + + + + - - + + + + + + + + - - - - + + + + + + + + + + - - + + + + + + + + - + - + + + + - + - - - - + + + - - + + + + + + + + | # PiDP-8/I Changes |
︙ | |||
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 | + + + + - - - - - + + + + + - + - - - + + + - - - - - - - - - - - + + + + + + - - - - - - - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - - - - - + + + + + + + + - + - - | prior version as we found the ability to mount two tapes very helpful, particularly during the `mkos8` build process. The difference in the `RESORC` output between the versions is: Old: RKA0,RKB0,RKA1,RKB1, RXA0,RXA1,DTA0,DTA1,TTY,LPT,PTP,PTR New: RKA0,RKB0,RKA1,RKB1,RKA2,RKB2,RXA0, DTA0,DTA1,TTY,LPT,PTP,PTR - TODO: Added the `os8` script to add and remove features from the built OS/8 binary disk image after it is initially built. In a primitive sort of way, this is "[apt][apt] for OS/8." This automatic OS/8 media build feature was suggested by Jonathan Trites who wrote the initial version of the script that is now called `libexec/mkos8`. That script was then extended and factored into its current form by Bill Cattey and Warren Young. Warren thinks Bill did most of the hard work in the items above. The source media used by the `mkos8` script comes from many sources and was curated for the PiDP-8/I project by Bill Cattey. See the [OS/8 media README][os8rm] for more details. See the [the top-level `README`][tlrm] for information on modifying the default OS/8 configuration. Pretty much everything above can be disabled if it's enabled by default, and vice versa. |
︙ | |||
1141 1142 1143 1144 1145 1146 1147 | 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 | - + | In particular, the software now builds under Mac OS X, though it does not yet run properly. (The modified SimH PDP-8 simulator currently misbehaves if the PiDP-8/I panel is not present. Fixing this is on the radar.) * Fixed a bunch of bugs! |
︙ |
Changes to HACKERS.md.
︙ | |||
42 43 44 45 46 47 48 | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | - - - - - - + + + + + + | $ sudo make install Fossil is also available for all common desktop platforms. One of [the official binaries][fbin] may work on your system. If you're getting binaries from a third party, be sure it is Fossil 2.1 or higher. |
︙ | |||
147 148 149 150 151 152 153 | 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | - + - - - - - - - - - - - - + + + + + + - | Fossil Developer Access ---- If you have a developer account on tangentsoft.com's Fossil instance, just add your username to the URL like so: |
︙ | |||
370 371 372 373 374 375 376 | 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 | - + | Please make your patches or experimental branch bundles against the tip of the current trunk. PiDP-8/I often drifts enough during development that a patch against a stable release may not apply to the trunk cleanly otherwise. [osil]: https://opensource.org/licenses |
︙ |
Changes to Makefile.in.
︙ | |||
34 35 36 37 38 39 40 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | - - - - - + + - - - + + - - - - - - - - - - - - - - - - - - - - - - + - - - - + - - + + - - - - - + - - - - + + + - + - - - + + - + - + - + | # authorization from those authors. ######################################################################## # Git commit ID of the latest version of the SIMH 4 project on GitHub # that has been merged into this source base. SGCID=17903827bdb294f7e60d4c7f172bd6a1a71dfbd5 |
︙ | |||
129 130 131 132 133 134 135 | 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - | obj/sim_serial.o \ obj/sim_sock.o \ obj/sim_tape.o \ obj/sim_timer.o \ obj/sim_tmxr.o \ obj/sim_video.o |
︙ | |||
183 184 185 186 187 188 189 | 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 | - - + + - - - - - - - - - - - - - - - - + - - - - + + + + - - - + + + + + + + + - - - - - - - - - + + + + + + - + - - - + - - - - + - - - + - - + - - - - - - - + - + | BOOTSCRIPTS := $(subst obj/,boot/,$(BOOTSCRIPTS)) \ boot/1.script \ boot/5.script # List of *.in files from auto.def file, except for this present file # (Makefile.in) which is handled separately. This list should only # change when the list of "make-template" calls in auto.def changes. |
︙ | |||
341 342 343 344 345 346 347 | 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 | - + - - + - - + + - - - + + + - - - - - + + - + - - + - - + - - + + - - - - - - - - - + | @( test -z "@PCB_SERIAL_MOD_ANY@" -a -r $(CLTXT) && ! -w $(CLTXT) && \ cp -p $(CLTXT) "$(CLTXT)"_orig && \ sed -e 's/console\=[a-zA-Z0-9]+,[0-9]+ //' \ -e 's/kgdboc\=[a-zA-Z0-9]+,[0-9]+ //' -i $(CLTXT) \ ) || true @# Install CC8 stuff if built |
︙ | |||
423 424 425 426 427 428 429 | 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 | - + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | # timestamp always changes from one run to the next. (Until computers # get fast enough to do a complete re-configure in under a second, # anyway!) The thing is, we only want the RK05 bin media rebuilt when # the configure --*-os8-* options change. *That* is when we care about # the updated init.tx file, not before. We needn't even make it an # order-only prereq because configure and the INFILES rules above ensure # that it always exists. |
︙ | |||
471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 | 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 | + + + + - - - - - - - - - - - - - - - - - - - - - - + + - - - - | # Rules for making aliases of named example programs translated to boot # scripts as special numbered boot scripts boot/1.script: boot/hs-rim-loader.script ln -f $< $@ boot/5.script: boot/ac-mq-blinker.script ln -f $< $@ bin/palbart: @srcdir@/palbart/palbart.c $(CC) -Wall -Wno-strict-prototypes @BUILDMODE@ $< -o $@ $(CC) -MM $< -o obj/palbart.d $(BUILDDIRS): mkdir -p $@ $(SIM): $(SIM_OBJS) obj/gpio-@LED_DRIVER_MODULE@ls.o $(CC) -o $@ $^ $(LIBS) bin/cc8: $(CC8_OBJS) $(CC) -o $@ $^ $(LIBS) |
Changes to README.md.
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | - + + + + + + + - + - - - - - + - - - - + - - + - - - + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - + - - - - - + - - + - - - + - - - - - - - - - - - - - - - + - + - + - + - - - - + - - + - + - - + - - - + - + | # Getting Started with the PiDP-8/I Software ## Prerequisites * A Raspberry Pi with the 40-pin GPIO connector. That rules out the first-generation Raspberry Pi model A and B boards which had a 26-pin GPIO connector. |
︙ | |||
284 285 286 287 288 289 290 | 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | - + - + - + | getting the software to work as you expect when built in this mode, try enabling CAPS LOCK. [sa]: http://homepage.cs.uiowa.edu/~jones/pdp8/faqs/#charsets [tty]: https://tangentsoft.com/pidp8i/wiki?name=OS/8+Console+TTY+Setup |
︙ | |||
353 354 355 356 357 358 359 | 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | - + - - + + - + - - + + - + - - - - + - - - + - - + + - - - - - + - - - - - - - - - - + - - - + + + - + - - - - - - - + + + + + + - + - + - - - - - + + + + - - + + - - + - | Note that this is different from `--disable-os8-cc8`, which disables the *native OS/8* C compiler. They are two different C compilers: one runs outside the SIMH PDP-8 simulator and the other runs inside the simulator under OS/8. |
︙ | |||
528 529 530 531 532 533 534 | 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 | - + | #### --help Run `./configure --help` for more information on your options here. |
︙ | |||
554 555 556 557 558 559 560 | 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 | - + - + - - - - + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - - + + | (Gollum!) One common reason this may be the case is that you've damaged your local configuration and want to start over. Another common case is that the newer software you're installing contains changes that you want to reflect into your local configuration. You have several options here: |
︙ | |||
736 737 738 739 740 741 742 | 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 | - + - + + - + - + | what else you can do with the simulator command language, or read the [SIMH Users' Guide][sdoc]. 5. To shut the simulator down from the Raspbian command line: $ sudo systemctl stop pidp8i |
Changes to RELEASE-PROCESS.md.
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | # PiDP-8/I Software Release Process This documents the process for producing release versions of the software. |
︙ |
Changes to auto.def.
︙ | |||
29 30 31 32 33 34 35 | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | - - - - - - - - - - - - - - + + + + + + - - - - - + + + + + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | # authorization from those authors. ######################################################################## define defaultprefix /opt/pidp8i use cc use cc-lib |
︙ | |||
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 | + + + + + + + + + + + - - - + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | if {[opt-bool debug-mode]} { msg-result "Creating a debuggable build." define BUILDMODE {-O0 -g} } else { msg-result "Creating a release build." define BUILDMODE {-O2} } set mkos8_opts "" set lv [opt-val lowercase] if {$lv == ""} { set lv "auto" } if {$lv == "auto"} { define SIMH_PASS_LOWERCASE } elseif {$lv == "pass"} { define SIMH_PASS_LOWERCASE append mkos8_opts " --disable-lcmod" } elseif {$lv == "upper"} { append mkos8_opts " --disable-lcmod" } else { user-error "Legal values for --lowercase are {auto,pass,upper}." } msg-result "Lowercase handling set to '$lv' mode." set os8min [opt-bool os8-minimal] if {$os8min || ![opt-bool os8-advent]} { msg-result "Will not add game of ADVENT to the OS/8 RK05 disk image." append mkos8_opts " --disable-advent" } if {$os8min || ![opt-bool os8-ba]} { msg-result "Will not add BASIC games and demos to the OS/8 RK05 disk image." append mkos8_opts " --disable-ba" } |
︙ | |||
298 299 300 301 302 303 304 305 306 307 308 309 310 311 | 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | + + + + + | } else { user-error "No install(1) type program found; install GNU Coreutils." } msg-result "Found GNU install(1) program as [get-define INSTALL]." # If we have cscope here, we'll use it in the "tags" target define HAVE_PROG_CSCOPE [cc-check-progs cscope] # Canonicalize some paths which may be relative and generate others from them define ABSPREFIX [file-normalize [get-define prefix]] define BOOTDIR "[get-define ABSPREFIX]/share/boot" define MEDIADIR "[get-define ABSPREFIX]/share/media" # Remember the name and primary group of the user who installed this, since # we want to give that group write privileges to some files when they're # installed, and we want them to own the screen(1) session. set instgrp [exec id -grn] set instusr [exec id -urn] if {$instusr == "root"} { |
︙ | |||
342 343 344 345 346 347 348 | 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 | - + | # mask a real problem that needs to be diagnosed. set tool "tools/version" set cmd "$srcdir/$tool" set status [catch {exec $cmd} version] if {$status != 0} { # The most likely cause for tools/version to fail is that the repo # file has become disassociated from the local checkout directory. |
︙ | |||
397 398 399 400 401 402 403 | 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 | - - - - - - - - - - - - - - + + - - - | # Build Deeper Thought if we find it here if {[file exists "[get-define srcdir]/src/deeper.c"]} { set ls [string toupper "[get-define LED_DRIVER_MODULE]ls"] msg-result "Found Deeper Thought; building it against $ls GPIO module" define BUILD_DEEPER_THOUGHT 1 } |
Changes to autosetup/autosetup.
︙ | |||
73 74 75 76 77 78 79 | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | - | # options is a list of known options set autosetup(options) {} # optset is a dictionary of option values set by the user based on getopt set autosetup(optset) {} # optdefault is a dictionary of default values for options set autosetup(optdefault) {} set autosetup(optionhelp) {} |
︙ | |||
393 394 395 396 397 398 399 | 392 393 394 395 396 397 398 399 400 401 402 403 404 405 | - | #string match \n* $desc if {$header ne ""} { lappend autosetup(optionhelp) $header "" set header "" } # A multi-line description lappend autosetup(optionhelp) $opthelp $desc |
︙ |
Deleted bin/.agignore.
| - - |
|
Deleted bin/.ignore.
| - |
|
Changes to bin/teco-pi-demo.
︙ | |||
32 33 34 35 36 37 38 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | - - - - - + - - - + - - - - - - - - - - - + - - - + - + - - - - - - - - - - - - - - - - - - - + | # authorization from those authors. ######################################################################## # Bring in just the basics so we can bring in our local modules import os import sys sys.path.insert (0, os.path.dirname (__file__) + '/../lib') |
︙ | |||
115 116 117 118 119 120 121 | 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - + + | # Send last line of macro sans CR, followed by two Esc characters to # start it running. s.os8_send_str (last) # not os8_send_line! s.os8_send_ctrl ('[') s.os8_send_ctrl ('[') |
Changes to boot/0.script.in.
︙ | |||
37 38 39 40 41 42 43 | 37 38 39 40 41 42 43 44 45 | - + | @else ; The software was configured with --lowercase=upper, meaning the user ; wants lowercase text to be forced to uppercase. This is bidirectional, ; affecting both input to the simulated PDP-8 and output from it. set tti ksr @endif |
Added boot/cc8.script.in.
|
Changes to boot/run.script.in.
︙ | |||
11 12 13 14 15 16 17 | 11 12 13 14 15 16 17 18 19 | - + | @if SIMH_PASS_LOWERCASE set tti 7b @else set tti ksr @endif |
Added cc8/Makefile.in.
|
Added cc8/README.md.