Next: System Chipset
Up: Hardware Components
Previous: The Heap Allocator
Contents
Index
- (CORE/VIDEO.JAVA)
-
The video card is represented by an interface, which front ends can
implement and provide extra functionality for the SaM instructions.
This hardware component is strictly optional, and instructions should
have an alternate solution for systems without a video card (front
ends that do not implement the interface).
The following methods are avaliable for reading and writing video
data:
- void writeInt(int i) - write an integer
- void writeString(String str) - write a string
- void writeFloat(float f) - write a floating point number
- void writeChar(char c) - write a character
- int readInt() - read an integer
- float readFloat() - read a floating point number
- char readChar() - read a character
- String readString() - read a string
David Levitan
2006-02-12