00:00:00 --- log: started forth/10.03.29 01:00:51 --- join: crc_ (~charlesch@71.23.210.149) joined #forth 01:04:45 --- quit: crc (Ping timeout: 276 seconds) 01:10:19 --- quit: proteusguy (Quit: has left the planet!) 01:10:42 --- join: proteusguy (~proteusgu@zeppelin.proteus-tech.com) joined #forth 01:24:07 --- quit: grub_booter (Read error: Operation timed out) 01:27:43 --- join: grub_booter (~charlie@2002:54c5:19d5:0:21a:a0ff:fedb:cda0) joined #forth 03:02:49 --- quit: proteusguy (Ping timeout: 264 seconds) 03:13:02 --- join: dinya_ (~Denis@188.19.250.54) joined #forth 03:15:15 --- join: proteusguy (~proteusgu@zeppelin.proteus-tech.com) joined #forth 03:18:35 --- quit: dinya_ (Read error: Connection reset by peer) 03:19:13 --- join: dinya_ (~Denis@188.19.250.54) joined #forth 03:19:22 --- quit: dinya_ (Client Quit) 04:47:45 --- quit: probonono (Ping timeout: 265 seconds) 04:52:15 --- join: probonono (~User@unaffiliated/probonono) joined #forth 04:53:40 --- quit: Al2O3 (Ping timeout: 252 seconds) 04:57:53 --- quit: proteusguy (Ping timeout: 258 seconds) 04:58:22 --- quit: probonono (Ping timeout: 276 seconds) 05:10:46 --- join: proteusguy (~proteusgu@zeppelin.proteus-tech.com) joined #forth 05:34:46 Wow it's been *real* quiet here the last few days... 06:04:31 --- quit: Deformative (Read error: Operation timed out) 07:00:48 --- join: madwork (~madgarden@204.138.110.15) joined #forth 07:45:16 --- join: Deformative (~joe@bursley-185022.reshall.umich.edu) joined #forth 07:51:33 --- join: Al2O3 (~Al2O3@c-75-70-11-191.hsd1.co.comcast.net) joined #forth 07:53:16 --- join: probonono (~User@unaffiliated/probonono) joined #forth 07:59:04 --- quit: probonono (Ping timeout: 276 seconds) 08:00:08 --- quit: ASau` (Quit: off) 08:23:30 --- quit: Al2O3 (Quit: Al2O3) 08:35:35 I think I have bank switching working now. 08:37:13 In cells that contain call / jump addresses I'm using bits 15:11 for various things. Whenever I'm about to use such a cell as the instruction memory address, I mask off those bits and replace them with either 0 (if bit 12 is 0) or the contents of the "map" register (if bit 12 is 1). 08:38:08 That full effective address, in addition to being clocked into the memory's address register, is also incremented and clocked into the instruction pointer, so that the IP properly points to the "next" cell to be executed. 08:38:39 That IP content is what gets pushed to the return stack on calls, so the return stack also contains full 16-bit cell addresses with no funky bits included. 08:39:28 The return instruction of course just pops one of those back into the IP, and the "co" instruction swaps the IP and the return stack top. That's how I'll do calls to currently unmapped pages to begin with - using the CO instruction. 08:39:54 Practically speaking I'll load such an address onto the stack with @p+, push it to the return stack with >r, and the execute co. 08:40:36 The map register is set to reload its contents from bits 15:11 of the return stack top whenever I execute either RET or CO. 08:40:51 Seems to work, but I haven't tested it exhaustively yet. 09:09:32 --- quit: Deformative (Read error: Operation timed out) 09:31:06 --- join: probonono (~User@unaffiliated/probonono) joined #forth 09:36:33 --- quit: probonono (Ping timeout: 240 seconds) 09:43:49 --- join: kar8nga (~kar8nga@91.35.72-86.rev.gaoland.net) joined #forth 09:55:35 --- join: Guthur (~Michael@host81-156-239-195.range81-156.btcentralplus.com) joined #forth 10:32:50 --- join: Deformative (~joe@67-194-8-78.wireless.umnet.umich.edu) joined #forth 10:34:47 --- quit: Quartus` (Ping timeout: 276 seconds) 10:50:58 --- quit: Deformative (Read error: Operation timed out) 11:02:29 --- join: forther (~forther@207.47.34.100.static.nextweb.net) joined #forth 11:05:58 hi 11:26:34 Evening. 11:28:34 --- join: segher (~segher@84-105-60-153.cable.quicknet.nl) joined #forth 11:44:37 --- quit: kar8nga (Ping timeout: 276 seconds) 11:46:35 --- join: Quartus` (~Quartus`@74.198.8.57) joined #forth 11:54:07 --- quit: TreyB_ (Read error: Connection reset by peer) 11:56:42 --- join: TreyB (~trey@adsl-76-240-61-5.dsl.hstntx.sbcglobal.net) joined #forth 12:00:53 --- quit: proteusguy (Ping timeout: 260 seconds) 12:03:30 --- join: Maki (~Maki@dynamic-78-30-167-37.adsl.eunet.rs) joined #forth 12:13:34 --- join: proteusguy (~proteusgu@zeppelin.proteus-tech.com) joined #forth 12:38:48 --- join: ygrek (debian-tor@gateway/tor-sasl/ygrek) joined #forth 12:54:36 hey 12:54:39 --- nick: alex4nde1 -> alex4nder 13:11:13 --- quit: Maki (Ping timeout: 264 seconds) 13:14:37 --- quit: gnomon (Ping timeout: 240 seconds) 13:14:56 --- join: gnomon (~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com) joined #forth 13:20:54 --- join: Deformative (~joe@bursley-185022.reshall.umich.edu) joined #forth 13:46:27 --- quit: forther (Quit: Leaving) 13:59:42 --- quit: qFox (Read error: Connection reset by peer) 14:00:49 --- quit: gnomon (Ping timeout: 260 seconds) 14:01:05 --- join: gnomon (~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com) joined #forth 14:02:11 --- join: probonono (~User@unaffiliated/probonono) joined #forth 14:06:40 --- quit: probonono (Ping timeout: 248 seconds) 14:26:53 --- join: forther (~forther@207.47.34.100.static.nextweb.net) joined #forth 14:39:27 --- quit: forther (Ping timeout: 276 seconds) 14:44:23 --- quit: gnomon (Ping timeout: 276 seconds) 14:44:40 --- join: gnomon (~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com) joined #forth 14:56:12 --- join: probonono (~User@unaffiliated/probonono) joined #forth 15:00:37 --- quit: probonono (Ping timeout: 240 seconds) 15:04:28 hi all 15:16:01 --- quit: skas (Quit: Leaving) 15:25:30 --- quit: ygrek (Ping timeout: 245 seconds) 15:27:14 --- quit: scj (Read error: Operation timed out) 15:27:17 --- join: sscj (syljo361@static-ip-62-75-255-125.inaddr.server4you.de) joined #forth 15:27:42 --- nick: sscj -> scj 15:40:57 --- quit: gnomon (Ping timeout: 264 seconds) 15:41:17 --- join: gnomon (~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com) joined #forth 16:24:49 --- quit: gnomon (Ping timeout: 246 seconds) 16:25:05 --- join: gnomon (~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com) joined #forth 16:37:24 --- nick: crc_ -> crc 16:39:09 --- quit: mathrick (Read error: Connection reset by peer) 16:40:48 --- join: mathrick (~mathrick@users177.kollegienet.dk) joined #forth 16:42:37 --- quit: proteusguy (Ping timeout: 240 seconds) 16:56:03 --- join: proteusguy (~proteusgu@zeppelin.proteus-tech.com) joined #forth 17:10:18 --- join: probonono (~User@unaffiliated/probonono) joined #forth 17:15:30 --- quit: probonono (Ping timeout: 245 seconds) 17:30:47 --- quit: Quartus` (Ping timeout: 268 seconds) 17:45:51 --- quit: scj (Ping timeout: 260 seconds) 17:45:59 --- join: sscj (syljo361@static-ip-62-75-255-125.inaddr.server4you.de) joined #forth 17:46:54 --- nick: sscj -> scj 18:32:21 Bank switching had a bug. Got it fixed now, though. 19:05:22 Summary: One 16-bit cell can 1) contain three five bit opcodes, 2) unconditionally or conditionally (<0, =0, !=0 conditions) call or jump into the 4kB page starting at address zero, or 3) unconditionally or conditionally (same conditions) call or jump into the currently "selected" 4kB block of memory anywhere in the full 128kB address space. 19:06:15 I can use two cells (one containing three opcodes and one containing a literal address) to unconditionally or conditionally call or jump into a currently unselected 4kB block (this also makes it the currently selected block). 19:07:21 Returns always take zero cycles, regardless of whether they are "near" or "far." Tail returns work through any number of layered far or near calls. 19:18:23 --- quit: proteusguy (Ping timeout: 246 seconds) 19:31:27 --- join: proteusguy (~proteusgu@zeppelin.proteus-tech.com) joined #forth 19:47:19 --- quit: Guthur (Quit: Computer says no) 19:50:19 --- join: probonono (~User@unaffiliated/probonono) joined #forth 19:51:45 --- quit: probonono (Excess Flood) 20:13:38 --- join: nighty__ (~nighty@210.188.173.245) joined #forth 20:44:07 --- quit: gogonkt (Ping timeout: 240 seconds) 20:46:19 --- join: gogonkt (~info@218.13.43.106) joined #forth 20:54:10 --- join: cataska (~cataska@210.64.6.233) joined #forth 21:17:09 --- join: ygrek (debian-tor@gateway/tor-sasl/ygrek) joined #forth 22:32:21 --- join: dinya_ (~Denis@94.50.180.4) joined #forth 23:09:36 --- join: probonono (~User@unaffiliated/probonono) joined #forth 23:13:50 --- quit: probonono (Ping timeout: 245 seconds) 23:40:54 --- quit: proteusguy (Ping timeout: 276 seconds) 23:52:07 --- join: proteusguy (~proteusgu@zeppelin.proteus-tech.com) joined #forth 23:59:59 --- log: ended forth/10.03.29