recording PSG and SCC registers in open/bluemsx
yes. It doesn't time stamp iirc, it just records the soundchip state of each interrupt..
Dunno the name of the console command anymore.. but no doubt someone will.
By Google
try the psg_log and reg_log commands:
psg_log Log or replay PSG register values in binary format
reg_log Log or replay register values for the specified debuggable in ASCII format
the binary format is the PSG format, which some other emulators use.
See?
See?
That's something completely different...
humm
I've the LOG, but how is coded?
I see it is binary, where is explained its format?
It's the registers per interrupt, which you can probably look up elsewhere. For instance here.
Use the other one for readable ASCII format. All regs are output per line in the file, and that is logged each frame.
The .PSG format is from fMSX... See http://www.msx.org/forumtopic6258.html
See the script: http://openmsx.svn.sourceforge.net/viewvc/openmsx/openmsx/trunk/share/scripts/psg_log.tcl
Well, it's in your own openMSX installation... documented and all :)
humm
I've the LOG, but how is coded?
I see it is binary, where is explained its format?
I guess you mean the binary .psg file format? There's a short description of it at the top of the share/scripts/psg_log.tcl file in openMSX:
# Binary format PSG logger
#
# (see http://www.msx.org/forumtopic6258.html for more context)
#
# Shiru wrote:
#
# Is it possible to make output in standart binary *.psg format (used in
# emulators like x128, very-very old version of fMSX, Z80Stealth and some other)?
#
# Header:
#
# +0 4 Signature #50 #53 #47 #1A ('PSG' and byte #1A)
# +4 1 Version number
# +5 1 Interrupts freq. (50/60)
# +6 10 Unused
#
# Note: only signature is necessary, many emulators just fill other bytes by zero.
#
# Data stream:
#
# #00..#FC - register number, followed by data byte (value for that register)
# #FD - EOF (usually not used in real logs, and not all progs can handle it)
# #FE - number of interrupts (followed byte with number of interrupts/4, usually not used)
# #FF - single interrupt
The psg_log.tcl script is very short. It shouldn't be too hard for you to adapt it to log in the exact format you want.

By ARTRAG
Prophet (3870)
28-02-2011, 17:52