fix tms7000 sbb

This commit is contained in:
Michaël Banaan Ananas 2014-07-25 09:27:51 +00:00
parent a531a4481e
commit 48d3d8890e
3 changed files with 2 additions and 3 deletions

View File

@ -66,7 +66,7 @@
<info name="usage" value="Load with RUN &quot;DIR&quot;, then load program from list" />
<part name="cart" interface="cc40_cart">
<dataarea name="rom" size="0x8000">
<rom name="games1.bin" size="0x8000" crc="54b52a26" sha1="1ad4c414b3aba73e10e30a2c2a2de8e92f96d46b" offset="0" status="baddump" />
<rom name="games1.bin" size="0x8000" crc="54b52a26" sha1="1ad4c414b3aba73e10e30a2c2a2de8e92f96d46b" offset="0" />
</dataarea>
</part>
</software>

View File

@ -274,7 +274,7 @@ int tms7000_device::op_or(UINT8 param1, UINT8 param2)
int tms7000_device::op_sbb(UINT8 param1, UINT8 param2)
{
UINT8 t = param1 - param2 - (!GET_C());
UINT16 t = param1 - param2 - (!GET_C());
SET_NZ(t);
SET_C(~t);
return t;

View File

@ -57,7 +57,6 @@
TODO:
- some strange bugs with Games I cartridge, bad dump or emulation bug?
- other RAM configurations (6KB(default), 18KB, external)
- understand bus_control_r/w
- Hexbus interface and peripherals