Previous Thread
Next Thread
Print Thread
Page 54 of 536 1 2 52 53 54 55 56 535 536
Joined: May 1999
Posts: 157
Senior Member
Offline
Senior Member
Joined: May 1999
Posts: 157
Originally Posted by mahlemiut
Originally Posted by JoJo
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
A
Anna Wu Offline OP
Very Senior Member
OP Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Originally Posted by Lord Nightmare
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. smile

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
A
Anna Wu Offline OP
Very Senior Member
OP Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
SVN r5666
snes driver
Game : SD Gundam GX (J)

[Linked Image from img245.imageshack.us]

Joined: Mar 2006
Posts: 1,079
Likes: 6
L
Very Senior Member
Offline
Very Senior Member
L
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
A
Anna Wu Offline OP
Very Senior Member
OP Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
SVN r5685
Bondwell 2 (bw2 driver)
WordStar (Floppy Disk)

[Linked Image from img141.imageshack.us]

Joined: Mar 2006
Posts: 1,079
Likes: 6
L
Very Senior Member
Offline
Very Senior Member
L
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
R
Very Senior Member
Offline
Very Senior Member
R
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
L
Very Senior Member
Offline
Very Senior Member
L
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:
Code
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
R
Very Senior Member
Offline
Very Senior Member
R
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
L
Very Senior Member
Offline
Very Senior Member
L
Joined: Mar 2006
Posts: 1,079
Likes: 6
see prev message edit


"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
Page 54 of 536 1 2 52 53 54 55 56 535 536

Link Copied to Clipboard
Who's Online Now
3 members (AJR, 2 invisible), 315 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,320
Posts121,930
Members5,074
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com