Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 43 additions & 1 deletion libs/stdio.lib
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ int min(param_byte_count) auto
/* version 1.3 */
/* Copyright (C) 1985 Hisoft */
/* Last changed 31 Oct 1985 */
/* Last chnged by Micky Adler*/
/* 04 Dec 2025 */
/*****************************/

#list-
Expand Down Expand Up @@ -819,14 +821,39 @@ ink(i)
return _colour(16,i);
}

flash(i)
{
return _zeroone(18,i);
}

bright(i)
{
return _zeroone(19,i);
}

inverse(i)
{
return _zeroone(20,i);
}

over(i)
{
return _zeroone(21,i);
}

void at(x,y)
{
return _at(22,x,y);
}


cls()
{
inline(0xCD,0xD6B);
}


_setover(on)
_setover(on)
{
printf("\025%c",on?0:1);
}
Expand Down Expand Up @@ -854,6 +881,21 @@ _colour(h,i)
return i;
}

_zeroone(h,i)
{
if (i<0 | i>1) return -1;
putc(h,2);
putc(i,2);
return i;
}

void _at(h,x,y)
{
putc(h,2);
putc(x,2);
putc(y,2);
}


#list+

Expand Down