mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 04:02:25 +00:00
More adjustments to ADDRESS vs LONGINT. An -O2 on 64 bit compiler has worked once!
This commit is contained in:
parent
7b8eed9993
commit
cca132d784
201 changed files with 1468 additions and 1456 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* voc 1.95 [2016/09/22] for gcc LP64 on cygwin xtspaSfF */
|
||||
/* voc 1.95 [2016/09/23] for gcc LP64 on cygwin xtspaSfF */
|
||||
|
||||
#define INTEGER int16
|
||||
#define LONGINT int32
|
||||
|
|
@ -118,10 +118,10 @@ void Console_Hex (int32 i)
|
|||
|
||||
void Console_Read (CHAR *ch)
|
||||
{
|
||||
address n;
|
||||
int32 n;
|
||||
int16 error;
|
||||
Console_Flush();
|
||||
error = Platform_ReadBuf(0, (void*)&*ch, 1, (void*)&n);
|
||||
error = Platform_ReadBuf(0, (void*)&*ch, 1, &n);
|
||||
if (n != 1) {
|
||||
*ch = 0x00;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue