Quote from: guest on 05/10/2017, 10:53 AMOh, I thought it was a natural evolution of mednafen-rr and PCEjin. Do you happen to know what core they are using?AFAIK, it's original.
![]() |
Sega Lord X reviews the Street Fighter II Champion Edition PC Engine port. |
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: guest on 05/10/2017, 10:53 AMOh, I thought it was a natural evolution of mednafen-rr and PCEjin. Do you happen to know what core they are using?AFAIK, it's original.
Quote from: guest on 05/09/2017, 11:56 AMBizHawk is the emulator I'm watching for the future. It uses the Mednafen core for PCE emulationIt does not.
.do_saw:
stz $0800
stw <Copy_Freq,$0802
lda #$DF
ldx #$9F
sta $0804
stx $0804
TIN wave_saw,$0806,32
stw #DEF_FREQ,$0802 ;Write default frequency
rts
The demo I linked to is supposed to be quiet(another problem with it :p).
Quote from: MotherGunner on 11/10/2016, 09:19 PMWhat we're really saying is, "The EC ONLY needs to go when my candidate loses. When my candidate wins, however, I love the EC!" *rolls eyes*When was the last time a Democratic Party Presidential candidate won the electoral college vote but lost the popular vote? ;)
Quote from: TurboXray on 06/02/2016, 04:12 PMJust wanted to say that I started real system tests, since ironing out the problems with the emulator, and everything seems to work as it should (the custom bram lib). And as expected, the real CD unit doesn't care what's written to port $1807; only the last byte being $80. So that's totally a mednafen thing.I can fix a bug if you provide a test program with accompanying source code.
static const int step_sizes[49] =
{
16, 17, 19, 21, 23, 25, 28, 31, 34, 37, 41, 45, 50,
55, 60, 66, 73, 80, 88, 97, 107, 118, 130, 143, 157,
173, 190, 209, 230, 253, 279, 307, 337, 371, 408, 449,
494, 544, 598, 658, 724, 796, 876, 963, 1060, 1166, 1282, 1411, 1552
};
static const int step_index_deltas[16] =
{
-1, -1, -1, -1, 2, 4, 6, 8,
-1, -1, -1, -1, 2, 4, 6, 8
};
typedef struct
{
int predictor;
int step_size_index;
int delta_mask;
long long error_sum;
} encoder_ctx_t;
void encoder_reset(encoder_ctx_t* ctx)
{
ctx->predictor = 0;
ctx->step_size_index = 0;
}
void encoder_init(encoder_ctx_t* ctx, int linear_ip, unsigned char raw_rate)
{
if(linear_ip)
ctx->delta_mask = ~((1 << raw_rate) - 1);
else
ctx->delta_mask = ~0;
ctx->error_sum = 0;
encoder_reset(ctx);
}
unsigned char encoder_encode(encoder_ctx_t* ctx, int16_t samp)
{
const int32_t delta = (samp >> 1) - ctx->predictor;
const int32_t abs_delta = abs(delta);
const int32_t cur_ss = step_sizes[ctx->step_size_index];
int32_t m;
uint8_t nyb;
m = (abs_delta / cur_ss) - 1;
if(m < 0)
m = 0;
if(m > 7)
m = 7;
nyb = m | ((delta < 0) ? 8 : 0);
//
//
//
ctx->predictor += ((step_sizes[ctx->step_size_index] * ((nyb & 7) + 1)) & ctx->delta_mask) * ((nyb & 8) ? -1 : 1);
if(ctx->predictor < -16384)
ctx->predictor = -16384;
if(ctx->predictor > 16383)
ctx->predictor = 16383;
ctx->step_size_index += step_index_deltas[nyb];
if(ctx->step_size_index < 0)
ctx->step_size_index = 0;
if(ctx->step_size_index > 48)
ctx->step_size_index = 48;
ctx->error_sum += abs(samp - (int32_t)((uint32_t)ctx->predictor << 1));
#if 0
{
int16_t tmp = ctx->predictor << 1;
fwrite(&tmp, 2, 1, stderr);
}
#endif
return nyb;
}
Quote from: guest on 04/01/2016, 03:01 PMSo the lesson is, only use a SuperGrafx for SuperGrafx games and keep a dedicated PC Engine setup that is either a white PCE or CGXII CD combo or a Duo system to play PC Engine games?That sounds...sound. :p
Quote from: elmer on 03/17/2016, 11:16 PMWhile you're "on-the-line" ... can I ask if you've seen anything in the PC-FX BIOS or libraries that uses the R2 and R5 registers?No, but I haven't really dug into the BIOS and official dev libraries that much.
AFAIK, they're not used except temporarily-during-startup, and I'd like to use them for the Frame Pointer and the Thread Local variables pointer.
[6350e1c06f4d5be0a27eb0ae31c604fb] Ys IV - The Dawn of Ys {HCD3051-4-1108-R1F} (SCD)(JPN)
S A 8 L 0 001F9200 e7366d6f72204244 Simulate ROM necessary to allow for debug mode.
[6350e1c06f4d5be0a27eb0ae31c604fb] Ys IV - The Dawn of Ys {HCD3051-4-1108-R1F} (SCD)(JPN)
R A 1 L 0 000d1cba 01 Debug mode enable
[37e37a56eaae6eaa5f3550d995b6168a] Ys IV - The Dawn of Ys {HCD3051-5-1116-R1P} (SCD)(JPN)
R A 1 L 0 000d1cba 01 Debug mode enable
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0001.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0002.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0003.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0004.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0005.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0006.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0007.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0008.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0009.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0010.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0011.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0012.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0013.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0014.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0015.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0016.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0017.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0018.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0019.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0020.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0021.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0022.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0023.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0024.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0025.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0026.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0027.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0028.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0029.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0030.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0031.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0032.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0033.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0034.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0035.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0036.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0037.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0038.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0039.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0040.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0041.png[/img]
[img]http://sarsie.fobby.net/junk/ys4/Ys%20IV%20-%20The%20Dawn%20of%20Ys%20%7BHCD3051-4-1108-R1F%7D%20%28SCD%29%28JPN%29-0042.png[/img]
[6350e1c06f4d5be0a27eb0ae31c604fb] Ys IV - The Dawn of Ys {HCD3051-4-1108-R1F} (SCD)(JPN)
C A 8 B 0 00D6EB8 A95B855DA992855E A90B855DA98F855E Debug menu instead of normal menu
[37e37a56eaae6eaa5f3550d995b6168a] Ys IV - The Dawn of Ys {HCD3051-5-1116-R1P} (SCD)(JPN)
C A 8 B 0 00D6EB8 A95B855DA992855E A90B855DA98F855E Debug menu instead of normal menu
Quote from: elmer on 02/19/2015, 10:34 AMYes, it was pretty lame by that time as a music synthesizer ... but from my memory, everyone was expecting CD soundtracks at the time, and it can certainly do that. So the sound processor would be just sitting there doing sound effects. If you limit the CD's ADPCM to mono, you've even got another ADPCM channel for digitized sound effects.I seem to recall that Zeroigar decodes and re-encodes streaming stereo ADPCM in software to mix in sound effects, but it was a long ago that I messed around with the game so I may be misremembering.