|
Joined: May 1999
Posts: 157
Senior Member
|
Senior Member
Joined: May 1999
Posts: 157 |
BTW could you check this: start any driver, enter "Input (this machine)" and redefine any key, then press DEL to reset the definition to default - Segfault! No segfault here, it just sets Delete to that input. What it does not do, though, is stop adding extra inputs. ie: When you select an input, enter a key, move to another input, then back again, it adds another input instead of clearing it and showing only the key just pressed. It should only add keys if you *don't* move to another input. Which version of SDL are you using? Mine is 1.2.13. There could be another possibility: usually ArBee commits sdl changes only when SVN compilation breaks - what if he forgot to commit a minor change?
JoJo
|
|
|
|
Joined: Jul 2007
Posts: 4,625
Very Senior Member
|
OP
Very Senior Member
Joined: Jul 2007
Posts: 4,625 |
Anna Wu: Yes, it doesn't have any input method yet, I'm working on that still. Eventually you should be able to either dump textfiles in it somehow or at least blindly type at it; I need to whip up a sort of 'virtual rs232 terminal' for it. Or it could be attached to the vt100, too, if we ever get that working.
LN Thank you for your explanation. I know, the input is not supported yet. What i mean with " Using factory settings " PS: Can not record speech synthesis. is, I can not demonstrate the speech synthesis like " Using factory settings ", because I not have a recorded sound file. You know what I mean ?
|
|
|
|
Joined: Jul 2007
Posts: 4,625
Very Senior Member
|
OP
Very Senior Member
Joined: Jul 2007
Posts: 4,625 |
SVN r5666 snes driver Game : SD Gundam GX (J)
|
|
|
|
Joined: Mar 2006
Posts: 1,079 Likes: 6
Very Senior Member
|
Very Senior Member
Joined: Mar 2006
Posts: 1,079 Likes: 6 |
Anna: no, it says on startup:
Dectalk version 2.0 is running NVR Fault, using factory settings
The reason it says this is because the NVRam default image is bad. I'm still working on fixing that, because unlike most systems, if the nvram is bad the dectalk does NOT rewrite it by default; you have to actually send it a few commands to force it to rewrite the nvram contents.
LN
"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
|
|
|
|
Joined: Jul 2007
Posts: 4,625
Very Senior Member
|
OP
Very Senior Member
Joined: Jul 2007
Posts: 4,625 |
SVN r5685 Bondwell 2 (bw2 driver) WordStar (Floppy Disk)
|
|
|
|
Joined: Mar 2006
Posts: 1,079 Likes: 6
Very Senior Member
|
Very Senior Member
Joined: Mar 2006
Posts: 1,079 Likes: 6 |
BTW: fixed the nvram error in dectalk (sort of; in reality you should have to type a command in to reinitialize it if its clear; I also haven't figured out how to attach it to the generic nvram system, or if its even possible to do so, since the nvram addresses are interleaved with the led access addresses using UDS/LDS)
I'm working on an input system which should allow blindly typing random stuff and having it spoken.
Anna: you mentioned some problem with recording wavefiles from dectalk? can you explain?
LN
Last edited by Lord Nightmare; 09/11/09 04:56 PM.
"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
|
|
|
|
Joined: Mar 2001
Posts: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
Handling the interleave is trivial.
AM_RANGE(start, end) AM_READWRITE8(nvram_8bit_r, nvram_8bit_w, 0x00ff) AM_RANGE(start, end) AM_READWRITE8(led_8bit_r, led_8bit_w, 0xff00)
Then both handlers are called as if it's a linear array of bytes.
|
|
|
|
Joined: Mar 2006
Posts: 1,079 Likes: 6
Very Senior Member
|
Very Senior Member
Joined: Mar 2006
Posts: 1,079 Likes: 6 |
ok, how the hell did I not figure that one out... gimme a few minutes to implement that. Edit: arg, is there an 8-bit-with-mask version of AM_RAM? so i could do something like:
AM_RANGE(0x094000, 0x0941ff) AM_WRITE8(led_write, 0x00FF) AM_MIRROR(0x763C00) /* LED array */
AM_RANGE(0x094000, 0x0941ff) AM_RAM8(0xFF00) AM_BASE(&generic_nvram) AM_SIZE(&generic_nvram_size) AM_MIRROR(0x763C00) /* Xicor X2212 NVRAM */
Even that isn't optimal, the best would be if there was some way to access the nvram from within a write function, since the nvram acts as normal sram from the memory map, and is only stored to the non volatile 'backing store' when a different address is written to (0x94200) and is read from the 'backing store' when that same address is read from. LN
Last edited by Lord Nightmare; 09/11/09 05:13 PM. Reason: add text
"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
|
|
|
|
Joined: Mar 2001
Posts: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
To be fair it's a relatively new core feature, but extremely handy in situations like this.
|
|
|
|
Joined: Mar 2006
Posts: 1,079 Likes: 6
Very Senior Member
|
Very Senior Member
Joined: Mar 2006
Posts: 1,079 Likes: 6 |
"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
|
|
|
3 members (AJR, 2 invisible),
315
guests, and
1
robot. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,320
Posts121,930
Members5,074
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|