#garfield Logs

Apr 06 2021

#garfield Calendar

12:07 AM rue_mohr: test that rom...
12:31 AM rue_mohr: testing that rom
12:35 AM rue_mohr: it took some work to get the keybaord to stop shorting out enough to test, but it works
12:35 AM rue_mohr: via source code, I'v reacreated what I have
12:36 AM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190173.jpg
02:16 AM rue_mohr: THE OLD CODE KINDA SEEMS UNFOCUSED.
02:16 AM rue_mohr: er
02:16 AM rue_mohr: assembler in caps :)
04:24 AM Tom_L: ya we do silly things when we're young :)
07:56 AM polprog: the z80 laptop works?
07:56 AM polprog: neat :D
08:47 AM rue_mohr: the registers aren't saved in the subroutines, their saved before the call :)
08:47 AM rue_mohr: and not on the stack
06:14 PM rue_mohr: I have two goals
06:14 PM rue_mohr: dont fall asleep now
06:14 PM rue_mohr: dont stay up till midnight
06:14 PM rue_mohr: if I can do those two things I might be ok
06:15 PM rue_mohr: I'm gradually cleaning up the z80 code
06:15 PM rue_mohr: not modifying it yet tho
06:16 PM rue_mohr: I have a few goals
06:16 PM rue_mohr: I want to fix the data bus
06:16 PM rue_mohr: the rom chip is backwards and that awkward
06:16 PM rue_mohr: er
06:16 PM rue_mohr: the nibbles are reversed
06:17 PM rue_mohr: they didn't teach me about hexdecimal in school, and I got the nibbles mixed up when I taught myself
06:34 PM Tom_L: did the syntax change due to the different assembler?
06:34 PM rue_mohr: heh
06:34 PM rue_mohr: I was using a text editor and writing in hex codes myself
06:35 PM rue_mohr: thats why each line started with a space, an address, two spaces, and a two digit hex value
06:35 PM Tom_L: right but you still have to make an obj and bin file
06:35 PM rue_mohr: nope
06:36 PM rue_mohr: I had 16 address swtiches and 8 data swtiches to start
06:36 PM rue_mohr: loaded in the keyboard enabled monitor
06:36 PM rue_mohr: keyboard/lcd
06:36 PM rue_mohr: after that I was able to code up a thing that loaded it via text by the parallel port
06:36 PM rue_mohr: it was all done by hand
06:36 PM rue_mohr: 630 some-odd lines of memory
06:37 PM polprog: damn, that is impressive
06:37 PM rue_mohr: totally hand boostrapped
06:37 PM Tom_L: so what did your cohort think of your test rig?
06:38 PM rue_mohr: hes a bit reserved
06:38 PM rue_mohr: but positive
06:40 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190175.jpg
06:40 PM rue_mohr: thats the initial programmer for it
06:40 PM rue_mohr: but it doesn't seem to be working right now
06:40 PM rue_mohr: either its got a short, or it overloaded the temporary power supply I'm using
06:41 PM Tom_L: that looks like a rue_mohr contraption
06:41 PM rue_mohr: I have a 4A supply, I should probably put that on for now anyhow
06:42 PM rue_mohr: the inside isn't the neatest work I'v ever done...
06:42 PM Tom_L: swap out those leds for smt and you'll save a couple amps
06:42 PM polprog: i should experiment with the external eprom on the 8051
06:42 PM rue_mohr: yes!
06:42 PM Tom_L: those old ones probably drew alot of current
06:42 PM rue_mohr: do you have a 74574?
06:42 PM polprog: i think i have
06:42 PM rue_mohr: or 374
06:42 PM polprog: but not now, now i have to sleep... classes tomorrow
06:42 PM polprog: yeah i have the buffers
06:43 PM rue_mohr: latch
06:43 PM rue_mohr: not transparent
06:43 PM polprog: yes
06:43 PM rue_mohr: but iirc transparent works
06:44 PM polprog: i havea bunch of 574s from china
06:44 PM polprog: 374 too
06:44 PM Tom_L: polprog, you can't go to sleep!
06:44 PM rue_mohr: 5xx is easier
06:44 PM Tom_L: you gotta keep rue awake for a while!
06:44 PM Tom_L: but not to midnight
06:45 PM polprog: its 1:30 here :P
06:45 PM rue_mohr: http://paste.debian.net/1192552/
06:45 PM rue_mohr: code is cleaning up good
06:46 PM polprog: EPLASTLAST
06:46 PM polprog: :-)
06:46 PM Tom_L: rue is that code space sensitive?
06:47 PM rue_mohr: :), there were duplicate labels
06:47 PM rue_mohr: casue I didn't actually use text labels
06:47 PM rue_mohr: Tom_L, no, its behaving nicely
06:47 PM rue_mohr: the data shuffling I did was insane
06:47 PM polprog: gn :)
06:48 PM rue_mohr: almost 30% of the code seems to be me just moving numbers around
06:48 PM rue_mohr: the nop-blocks were so that I could insert code
06:48 PM rue_mohr: or at least a jump
06:49 PM Tom_L: so you'd better commit it to punch card
06:50 PM rue_mohr: hah
06:50 PM rue_mohr: dont be silly, I gave it a microcasette player
06:50 PM rue_mohr: for the new keybaord I have to rewrite 'inkey'
06:51 PM rue_mohr: .. and keyup
06:51 PM Tom_L: i tried one of those on the commodore
06:51 PM rue_mohr: would it work?
06:51 PM Tom_L: so so
06:52 PM Tom_L: i ended up with an sx which had a floppy
06:52 PM Tom_L: that's where my business program took birth
06:52 PM Tom_L: then i got my first xt
06:53 PM Tom_L: so i did data entry 2x
06:55 PM rue_mohr: arg, I'm hearing voices, I dont know if I can stay awake
06:57 PM Tom_L: but you can
06:58 PM rue_mohr: once my eyes start snapping shut and I'm hearing things, its almost certain I cant stay awake
07:00 PM Tom_L: but you got projects to work on
07:00 PM Tom_L: and this one waited 20+ years
07:00 PM rue_mohr: heh
07:02 PM Tom_L: bump up the power supply
07:02 PM rue_mohr: yes, I have some 4Aones now
07:04 PM Tom_L: i need to get better at calculating my threads
07:06 PM aandrew: https://www.thingiverse.com/thing:3194496 interesting
07:07 PM rue_mohr: neat
08:18 PM Tom_L: ok so sleep won
08:47 PM rue_mohr: awake again
08:53 PM Tom_L: yeah now my neck hurts
09:07 PM rue_mohr: 2 hours left to live
09:07 PM rue_mohr: ok
09:07 PM rue_mohr: I'm going to grab a 4A power supply
09:09 PM rue_shop1: I got it
09:33 PM rue_mohr: ok, so the manual programmer box still isn't happy
09:33 PM rue_mohr: if I want to use it, I'll have to go thru it
09:37 PM Tom_L: renovate or build new? which is quicker?
09:38 PM rue_mohr: how long is a piece of string?
09:38 PM Tom_L: from here to there
09:38 PM rue_mohr: needs paint? definitly rebuild
09:38 PM aandrew: RUE GO TO BED
09:38 PM rue_mohr: no
09:38 PM rue_mohr: no Its 7:30 here
09:50 PM Tom_L: ok i accomplished something.
09:50 PM Tom_L: edited my cad tool file for a graphic that wasn't the one it was supposed to be
09:51 PM Tom_L: i feel so much better knowing i did something productive tonight.
11:06 PM rue_shop1: :)