#garfield Logs

Aug 30 2021

#garfield Calendar

12:58 AM rue_mohr: yea
01:06 AM rue_mohr: 8042 wont run, but the timing is completely wacked out
01:10 AM rue_mohr: aha
01:10 AM rue_mohr: I found some info about it
01:10 AM rue_mohr: looks like I need to latch the addresses
01:10 AM rue_mohr: ok, I can try that
01:24 AM rue_mohr: no from what I can tell, it should have worked
01:24 AM rue_mohr: but all its reading from the memory is 0xFF
01:24 AM rue_mohr: which it shouldn't be
01:24 AM rue_mohr: but the memory is fine
01:40 AM rue_mohr: wait the basic dma didn't mean controlling a dma
01:40 AM rue_mohr: it meant handling requests from a dma
01:40 AM rue_mohr: for slave operation
01:41 AM rue_mohr: omg, a slave device running BASIC code!?!!?
04:22 AM polprog: i can just extend the nop loop past 0x66
04:23 AM polprog: the question is whether NMI is edge or level triggered
07:49 AM rue_mohr: arg, I'm ill
09:14 AM polprog: oh no :( what is it?
09:15 AM polprog: my hotplate delivery will delay by 5 days >_>
09:16 AM rue_mohr: dont know, but its symptoms match a flu so far
09:16 AM rue_mohr: early
09:16 AM rue_mohr: :S
09:18 AM polprog: :(
09:22 AM rue_mohr: huh emu8051 is quite.... refined...
09:23 AM polprog: what do you mean?
09:23 AM rue_mohr: its a lot less crude than I expected
09:26 AM polprog: hmm
09:27 AM polprog: i wonder if i should try to solder the stm32 with hot air to the new PCBs
09:28 AM polprog: ill do another test, ill solder the ld1117
09:28 AM rue_mohr: bga?
09:29 AM rue_mohr: hmmm
09:29 AM rue_mohr: cant see the whole program space tho
09:29 AM polprog: no. sot223
09:30 AM rue_mohr: heh
09:30 AM rue_mohr: I meant the stm32
09:30 AM polprog: ah no, tqfp
09:30 AM polprog: i had the previous pcb run which was bad
09:30 AM polprog: wrong finish
09:30 AM polprog: and it would not want regular solder to stick even
09:31 AM polprog: this is new run with different company
09:31 AM rue_mohr: ?
09:31 AM polprog: i was ranting about it
09:31 AM rue_mohr: twitter is being odd
09:31 AM polprog: not on twitter
09:31 AM polprog: here
09:31 AM rue_mohr: I caught a reply it didn't show me today
09:32 AM rue_mohr: another
09:32 AM polprog: and the paste syringe is dry again wtf is this shit
09:33 AM rue_mohr: they say that stuff doesn't last long
09:33 AM polprog: it was last week
09:33 AM rue_mohr: wow
09:37 AM polprog: ok good, this soldered up retty nicely
09:37 AM polprog: ill do the stm32 then
09:41 AM rue_mohr: I need to work out reballing the bga
09:49 AM rue_mohr: if I dont die from covid?
09:51 AM rue_mohr: heh
09:51 AM rue_mohr: the emulator is not set up with 512k of ram
09:51 AM rue_mohr: seems to cause it to segfault
09:53 AM rue_mohr: ah... lets try this...
10:07 AM polprog: yiss
10:07 AM polprog: soldered down
10:17 AM rue_mohr: hmm
10:17 AM rue_mohr: I'm not versed on how to make it think its got serial data
10:47 AM aandrew: how to make what think it got serial data?
01:57 PM rue_bed: emulator
01:57 PM rue_bed: not sure how to fake character reception, cause its autobaud
03:20 PM aandrew: how is it doing detection?
03:21 PM rue_mohr: something to do with the timer :)
03:23 PM aandrew: ok probably measuring low time. that's gonna be tough
03:23 PM aandrew: I think you'd have to patch that out
03:23 PM rue_mohr: it doesn't matter if it picks a wrong baud
03:23 PM rue_mohr: if I weren't looking at a dissassembly of it, I could have it skip over it
03:51 PM Tom_L: polprog, keep paste in the frig
03:51 PM Tom_L: lasts longer
04:12 PM aandrew: rue_mohr: is it possible to tweak the timer config so it generates an interrupt right away?
04:19 PM rue_mohr: hmm, an interrupt
04:20 PM rue_mohr: not sure how to pull it off
04:45 PM rue_mohr: I'm generally still working on familiarizing with the code
04:45 PM rue_mohr: its a mess thats a few layers deep
04:45 PM rue_mohr: I think the basic interpreter was taken from something else and modified
04:48 PM rue_mohr: fingerprints show changes to FOR, PUSH/POP, WHILE, UNTIL, DO, PROM, STOP, and NEW
04:52 PM rue_mohr: http://www.taniwha.com/~paul/fc/srcs/v2.2/ostbef.s <--- wtf
04:53 PM rue_mohr: interesting
04:54 PM rue_mohr: who is from who
04:54 PM rue_mohr: this is effectivly the same source
04:55 PM rue_mohr: I think every label is different
04:55 PM rue_mohr: and its still got the "eject"s in it
04:57 PM rue_mohr: some labels are the same
04:57 PM rue_mohr: but its still got mods
04:58 PM Tom_L: who's on first?
04:59 PM rue_mohr: its not that guy
04:59 PM rue_mohr: the orig source must be lost
05:00 PM rue_mohr: as I got thru the 8051 basic is SEEMS almost like a reverse engineered hack
05:00 PM Tom_L: what came before it?
05:05 PM rue_mohr: I dont know
05:05 PM rue_mohr: the internet came after
05:05 PM rue_mohr: I wasn't able to get the 8042 working
05:05 PM Tom_L: ooo that's right! they had to have something to put it on
05:06 PM Tom_L: then gore took credit for it
05:08 PM rue_mohr: heh
05:22 PM rue_mohr: ONE OF THE TWO TEMPLATE PEICES IS PRINTED
05:22 PM rue_mohr: UGH, CAPS AND ASSEMBLER....
05:27 PM * rue_mohr HANDS OUT EARMUFFS
05:27 PM rue_mohr: I'M WORKING ON ASSEMBLER
05:29 PM Tom_L: i couldn't figure that out
05:30 PM rue_mohr: WHAT?
05:30 PM rue_mohr: :)
05:43 PM rue_mohr: 1250
05:43 PM rue_mohr: OF 1FFF
05:43 PM rue_mohr: I'V NEVER APPRECIATED THE SIZE OF 256 BYTES MORE
06:50 PM rue_mohr: 1433
06:51 PM rue_mohr: some of this code is just a mess of jumps
06:52 PM Tom_L: pogo stick code
06:52 PM Tom_L: someone thought it necessary
07:18 PM rue_mohr: WONDER IF i CAN MAKE IT TO 1800 TODAY
07:22 PM Tom_L: one more surely you can do that
08:31 PM rue_mohr: 0x1800 in the file
08:32 PM Tom_L: mmm
08:37 PM aandrew: I was gonna say it's like 6:30pm there
08:38 PM rue_mohr: so I'm not sure why the 8042 didn't work
08:38 PM rue_mohr: was doing some research and I know more now
08:38 PM rue_mohr: but not why it didn't work
11:06 PM rue_mohr: my muscles ache...
11:16 PM MrTime: rest then
11:21 PM rue_shop3: so I got the 8041/8042s working
11:22 PM MrTime: the one that runs basic right?
11:22 PM rue_shop3: they are not 8048
11:22 PM rue_shop3: no
11:22 PM rue_shop3: heh , I have parallel projects going on
11:22 PM rue_shop3: about 5
11:22 PM rue_shop3: basic is on the 8051
11:22 PM rue_shop3: but the 8051 code keeps reffering to 8048
11:23 PM rue_shop3: and I got curious, hence and tangent
11:23 PM MrTime: huh
11:23 PM rue_shop3: Every so often I need a microcontroller for something stupid
11:23 PM rue_shop3: over the years I collected a lot of chips
11:24 PM rue_shop3: a while ago I needed something for a stupid task, and realized I wasn't set up to use any of the controllers I had
11:24 PM rue_shop3: so I been working on that
11:25 PM MrTime: what was the task do you remember