Anyone has the source code of these two to study and learn something new?
Thanks!
F
--
You received this message because you are subscribed to the Google Groups "[PiDP-11]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-11+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/4dc283c5-6e4e-4a95-b242-ad86975b2299n%40googlegroups.com.
To better clarify: I'm a total beginner both in ASM and PDP-11 architecture so the idea would be to write a simple C program that uses the PDP-11 registers to do some blinky stuff, compile it for PDP-11 and run it maybe under BSD (is the OS I know better among the PDP-11 ones).
--
You received this message because you are subscribed to the Google Groups "[PiDP-11]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-11+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/CAC20D2N9H6YM11FR7GUjPGt3CfPH6dL-6W70xGJ4juVbaqPFcg%40mail.gmail.com.
; Kill the Bit game by Dean McDaniel, May 15, 1975 ; ; Object: Kill the rotating bit. If you miss the lit bit, another ; bit turns on leaving two bits to destroy. Quickly ; toggle the switch, don't leave the switch in the up ; position. Before starting, make sure all the switches ; are in the down position. ; org 0 lxi h,0 ;initialize counter mvi d,080h ;set up initial display bit lxi b,0eh ;higher value = faster beg: ldax d ;display bit pattern on ldax d ;...upper 8 address lights ldax d ldax d dad b ;increment display counter jnc beg in 0ffh ;input data from sense switches xra d ;exclusive or with A rrc ;rotate display right one bit mov d,a ;move data to display reg jmp beg ;repeat sequence end
On Apr 17, 2022, at 3:13 PM, Anton Lavrentiev <anton.la...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/CAAo%3Dyr1UQt1-sT%3DTVaKLuQNOHVzr82%2BYWjtjbr%2BvrpPDih_f-w%40mail.gmail.com.
On Apr 17, 2022, at 5:06 PM, Anton Lavrentiev <anton.la...@gmail.com> wrote:
On Apr 17, 2022, at 17:11, Charley Jones <data...@gmail.com> wrote:
Oh duh,
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/0666DF3C-09C0-40CF-8BB8-08E2BEE15C06%40gmail.com.
I'll try to reply to all, in the meantime thanks again for packing my next days with study and more study!
F
> --
> You received this message because you are subscribed to the Google Groups "[PiDP-11]" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> pidp-11+u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pidp-11/fabff3e5ba180e6c...@fabfur.it.
Hi Anton, yes I've read the boot.ini for the IDLED system in the PiDP folder and now I'm wrapping my head around that to understand deeply how it works!
I firstly thought that the IDLED would recognize the pressed console switches and *then* reboots to the selected systems (so it should trap also the rotary encoder press) but then I realized that maybe this is done *outside* the IDLED program: If I understand correctly the rotary encoder switch (which is something that should not "exists" in a "real" PDP-11) is trapped _outside_ the IDLED program (maybe scanswitch?) and causes the SIMH restart with the program selected by the switches...
Am I right?
Thanks,
F
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/CAAo%3Dyr1UQt1-sT%3DTVaKLuQNOHVzr82%2BYWjtjbr%2BvrpPDih_f-w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/0666DF3C-09C0-40CF-8BB8-08E2BEE15C06%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "[PiDP-11]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-11+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/1044ff2c55249dbfdec10c98ca6ab9a9%40fabfur.it.
I am not a PDP-11 programmer (the PDP-8 was the first machine language I learned).
That being said and from reading the message thread I would recommend a minimal operating system like RT-11 and coding in C might be a shorted learning curve.
Even though the PDP-11 has probably the best machine language architecture. C handle a lot of the mundane arithmetic that assembler requires.
If you do use C be sure to make all of your memory mapped pointers volatile.
The only issue here is that, to my knowledge, the only C compiler available for RT-11 was DECUS C, and it was regarded as quirky and bit unstable.
I would still advocate using assembler if you want to play with hardware features.
The PDP-11 has an elegant, easy-to-learn instruction set, and the hardware (including interrupts) is well documented and well behaved.
But it all comes down to what you want to achieve.
--
You received this message because you are subscribed to the Google Groups "[PiDP-11]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-11+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/CAC20D2NfBDN7uBKeOsm2bjNzQZTB8mHYhshWY2o3Bpe0_GQusA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-11/9e8e137c-4a24-4ad0-ba51-446cd097143dn%40googlegroups.com.