mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
patinho_feio: clean up some indentation
This commit is contained in:
parent
4de38c6f85
commit
6872b33057
@ -322,7 +322,7 @@ void patinho_feio_cpu_device::execute_instruction()
|
|||||||
case 0x90:
|
case 0x90:
|
||||||
//ST 0 = "Se T=0, Pula"
|
//ST 0 = "Se T=0, Pula"
|
||||||
// If T is zero, skip the next instruction
|
// If T is zero, skip the next instruction
|
||||||
if ((FLAGS & T) == 0)
|
if ((FLAGS & T) == 0)
|
||||||
INCREMENT_PC_4K; //skip
|
INCREMENT_PC_4K; //skip
|
||||||
return;
|
return;
|
||||||
case 0x91:
|
case 0x91:
|
||||||
@ -337,7 +337,7 @@ void patinho_feio_cpu_device::execute_instruction()
|
|||||||
case 0x92:
|
case 0x92:
|
||||||
//ST 1 = "Se T=1, Pula"
|
//ST 1 = "Se T=1, Pula"
|
||||||
// If T is one, skip the next instruction
|
// If T is one, skip the next instruction
|
||||||
if ((FLAGS & T) == T)
|
if ((FLAGS & T) == T)
|
||||||
INCREMENT_PC_4K; //skip
|
INCREMENT_PC_4K; //skip
|
||||||
return;
|
return;
|
||||||
case 0x93:
|
case 0x93:
|
||||||
@ -352,7 +352,7 @@ void patinho_feio_cpu_device::execute_instruction()
|
|||||||
case 0x94:
|
case 0x94:
|
||||||
//SV 0 = "Se V=0, Pula"
|
//SV 0 = "Se V=0, Pula"
|
||||||
// If V is zero, skip the next instruction
|
// If V is zero, skip the next instruction
|
||||||
if ((FLAGS & V) == 0)
|
if ((FLAGS & V) == 0)
|
||||||
INCREMENT_PC_4K; //skip
|
INCREMENT_PC_4K; //skip
|
||||||
return;
|
return;
|
||||||
case 0x95:
|
case 0x95:
|
||||||
@ -367,7 +367,7 @@ void patinho_feio_cpu_device::execute_instruction()
|
|||||||
case 0x96:
|
case 0x96:
|
||||||
//SV 1 = "Se V=1, Pula"
|
//SV 1 = "Se V=1, Pula"
|
||||||
// If V is one, skip the next instruction
|
// If V is one, skip the next instruction
|
||||||
if ((FLAGS & V) == 1)
|
if ((FLAGS & V) == 1)
|
||||||
INCREMENT_PC_4K; //skip
|
INCREMENT_PC_4K; //skip
|
||||||
return;
|
return;
|
||||||
case 0x97:
|
case 0x97:
|
||||||
@ -382,15 +382,15 @@ void patinho_feio_cpu_device::execute_instruction()
|
|||||||
case 0x98:
|
case 0x98:
|
||||||
//PUL="Pula para /002 a limpa estado de interrupcao"
|
//PUL="Pula para /002 a limpa estado de interrupcao"
|
||||||
// Jump to address /002 and disables interrupts
|
// Jump to address /002 and disables interrupts
|
||||||
PC = 0x002;
|
PC = 0x002;
|
||||||
m_interrupts_enabled = false;
|
m_interrupts_enabled = false;
|
||||||
return;
|
return;
|
||||||
case 0x99:
|
case 0x99:
|
||||||
//TRE="Troca conteudos de ACC e EXT"
|
//TRE="Troca conteudos de ACC e EXT"
|
||||||
// Exchange the value of the accumulator with the ACC extension register
|
// Exchange the value of the accumulator with the ACC extension register
|
||||||
value = ACC;
|
value = ACC;
|
||||||
ACC = READ_ACC_EXTENSION_REG();
|
ACC = READ_ACC_EXTENSION_REG();
|
||||||
WRITE_ACC_EXTENSION_REG(value);
|
WRITE_ACC_EXTENSION_REG(value);
|
||||||
return;
|
return;
|
||||||
case 0x9A:
|
case 0x9A:
|
||||||
//INIB="Inibe"
|
//INIB="Inibe"
|
||||||
@ -694,7 +694,7 @@ void patinho_feio_cpu_device::execute_instruction()
|
|||||||
case 0x20:
|
case 0x20:
|
||||||
//SAL="Salta"
|
//SAL="Salta"
|
||||||
// Skips a couple bytes if a condition is met
|
// Skips a couple bytes if a condition is met
|
||||||
skip = false;
|
skip = false;
|
||||||
switch(function)
|
switch(function)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user