#garfield Logs

Apr 21 2021

#garfield Calendar

12:47 AM rue_mohr: its to do with the interrupt, its not the screen
12:54 AM rue_mohr: using the software interrupt disables interrupts, but not even a hard reset brings it out of it
01:44 AM rue_mohr: ok
01:44 AM rue_mohr: so, if I call the function I'm using directly, everything is ok
01:44 AM rue_mohr: if I use my function table code, it screws up
01:44 AM rue_mohr: http://paste.debian.net/1194497/
01:49 AM rue_mohr: nothing should be able to corrupt hardware reset
01:50 AM rue_bed2: so
01:51 AM rue_bed2: there is no difference to the screen between the code being called directly vs via the interrupt vector table function
01:52 AM rue_bed2: and even if there wasn't a reset should reset
01:53 AM rue_bed2: I think what I need is to put a beeper on the thing, and set a startup beep
01:54 AM rue_bed2: that OR I should get hte serial comms working so I dont have to wear the rom socket out more every time I make a change
09:11 AM aandrew: well clearly something is different or it would work in both cases
09:12 AM aandrew: the question is what
09:16 AM rue_mohr: the software interrupt somehow causes the halt to be immune to hardware reset
09:16 AM rue_mohr: so it seems
09:33 AM rue_mohr: http://www.primrosebank.net/computers/z80/z80_special_reset.htm ?
09:47 AM rue_mohr: http://paste.debian.net/1194555/
09:47 AM rue_mohr: this code, causes the z80 to not respond to a hardware reset after a halt
09:48 AM aandrew: weird. what if you simplified that -- first try not using the stack, then maybe for IX to 0 or some known value
09:48 AM aandrew: just to see
09:48 AM aandrew: also, is your reset minimum 3T?
09:49 AM rue_mohr: its a pushbutton
09:50 AM rue_mohr: if, at 4Mhz, I manage less than that, I'm amazing
09:51 AM aandrew: we already know you're amazing
09:51 AM rue_mohr: hah
09:51 AM aandrew: but if it's just a pushbutton you may also be glitching the reset, but it sounds like you're consistently getting this result so it's unlikely to be a weird debounce issue
09:52 AM aandrew: all the same I'd "yup" the reset so you have a nice, clean, consistent 250ms reset pulse
09:52 AM aandrew: these old chips were NEVER glitch friendly
09:53 AM rue_mohr: yes, if I run that code, the system cannot be recovered from a halt (*halt does go out after reset, but sytem doesn't seem to be running)
09:53 AM rue_mohr: I also have a 4.7uF cap on /rst
09:53 AM rue_mohr: so, I dont think I could
09:54 AM rue_mohr: oops the motor is viral
10:12 AM polprog: the motor is pretty cool
10:13 AM polprog: probably the best in this kinda thing
10:13 AM polprog: they actually did polyphony on a single one
10:26 AM aandrew: a big 4.7uF cap might cause a long nasty transition through the Vih threshold
06:51 PM rue_mohr: :)
06:53 PM Tom_L: so
06:53 PM Tom_L: the new phone won't play my audio files i copied from cd
06:53 PM rue_mohr: ?
06:53 PM rue_mohr: mp3?
06:54 PM Tom_L: wma
06:54 PM rue_mohr: pff
06:54 PM rue_mohr: mp3
06:54 PM Tom_L: i don't know when i did those but it was a long time ago
06:54 PM Tom_L: it's as if it recognizes them as copied
06:54 PM rue_mohr: maybe
06:55 PM rue_mohr: but you own th cd, you have the right to play them
06:55 PM rue_mohr: why does ram have rgb leds?
06:56 PM rue_mohr: I'm seeing it everywehere
06:56 PM Tom_L: however it does play mp3
06:56 PM Tom_L: maybe i need to convert them all again
06:56 PM Tom_L: nearly forgot how i did it now
06:57 PM rue_mohr: I used to use cdparanoia for getting the audio off
06:57 PM rue_mohr: xmms will do it
06:57 PM Tom_L: i need a batch utility
06:57 PM Tom_L: i may have one and not know it
06:57 PM rue_mohr: it'll do a disk
06:58 PM Tom_L: i'll be working on files on the ssd
07:03 PM Tom_L: PCM?
07:03 PM rue_mohr: maybe as an intermittent
07:03 PM rue_mohr: wav
07:04 PM Tom_L: ogg
07:04 PM rue_mohr: I think I"d do cdparanoia (wav) -> mp3
07:04 PM rue_mohr: no not ogg, mp3
07:04 PM rue_mohr: why does everyone avoid mp3?
07:04 PM Tom_L: don't see that as a conversion option
07:04 PM Tom_L: MPEG-Layer3?
07:04 PM rue_mohr: on cdparanoia?
07:04 PM Tom_L: no
07:04 PM rue_mohr: thats mp3
07:05 PM rue_mohr: mp3 is mpeg1-layer3
07:05 PM Tom_L: my windoz program i used
07:05 PM Tom_L: it does batch too
07:05 PM rue_mohr: ugh
07:05 PM Tom_L: it will capture any audio and save it
07:06 PM rue_mohr: cdparanoia and xmms will convert the songs to file
07:06 PM rue_mohr: ok I need to think on this z80
07:07 PM Tom_L: it's running
07:07 PM Tom_L: i just have to navigate every subdir
07:07 PM Tom_L: i'll see if it works first
07:09 PM Tom_L: now to figure out where the phone stores them
07:10 PM rue_mohr: hah exhausting day doing wiring, I'm gonna collapse
07:14 PM Tom_L: yeah that will work
07:15 PM Tom_L: but
07:15 PM Tom_L: it won't let me delete the .wma from the phone
07:17 PM Tom_L: haha there's a 'use subfolders' button
07:17 PM Tom_L: one and done it appears
07:17 PM Tom_L: just need to figure out how to remove them from the phone
09:28 PM Tom_L: ok i think that's done
09:59 PM slacko_12076: MrTime
09:59 PM slacko_12076 is now known as MrTime
10:25 PM rue_mohr: ok, so power cycling the screen didn't fix it
10:25 PM rue_mohr: changing the z80 didn't fix it
10:25 PM rue_mohr: but !! pulling the z80 out, and putting it back (power cycling z80) didnt fix it!!
10:25 PM rue_mohr: this MUST be an eeprom issue!!!!
11:01 PM rue_mohr: ... its the 7404 that does the oscillator??!?!?!
11:15 PM rue_mohr: looking at the chip select shows its locked into a loop