From 5fac17c7f0531236c32160a72147a9bf7dbec434 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Tue, 11 Jul 2017 22:19:49 +0900 Subject: libopna: partially bit perfect with actual opna chip --- libopna/opnatables.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'libopna/opnatables.h') diff --git a/libopna/opnatables.h b/libopna/opnatables.h index 30140bf..825e390 100644 --- a/libopna/opnatables.h +++ b/libopna/opnatables.h @@ -208,10 +208,15 @@ static const uint16_t exptable[EXPTABLELEN] = { static const uint8_t rateinctable[4*2][8] = { // rates 0 - 47 - {0, 1, 0, 1, 0, 1, 0, 1}, - {0, 1, 0, 1, 1, 1, 0, 1}, - {0, 1, 1, 1, 0, 1, 1, 1}, - {0, 1, 1, 1, 1, 1, 1, 1}, +// TODO: not bit perfect +// {0, 1, 0, 1, 0, 1, 0, 1}, +// {0, 1, 0, 1, 1, 1, 0, 1}, +// {0, 1, 1, 1, 0, 1, 1, 1}, +// {0, 1, 1, 1, 1, 1, 1, 1}, + {1, 0, 1, 0, 1, 0, 1, 0}, + {1, 0, 1, 0, 1, 1, 1, 0}, + {1, 0, 1, 1, 1, 0, 1, 1}, + {1, 0, 1, 1, 1, 1, 1, 1}, // rates 48 - {1, 1, 1, 1, 1, 1, 1, 1}, -- cgit v1.2.3