SIMULATOR
This platform is for the TiOS Simulator software that installs on your Windows PC. The Simulator executes as a regular Windows application. With TiOS Simulator, you can explore TIDE and the world of Tibbo's BASIC/C-programmable devices without having to commit to purchasing any actual Tibbo hardware.
The Simulator supports only a subset of objects available on Tibbo hardware platforms. Moreover, some properties and methods of the objects the Simulator supports are implemented differently. Finally, some aspects of the Simulator's operation are "virtual" in nature. As the name implies, the Simulator only simulates the real hardware. For example, the keypad (kp.) object works with buttons in the Simulator window, and not with physical buttons. The lcd. object draws inside the Simulator's window, and not on a real LCD screen. Flash disk (fd.) object stores data in a file that "pretends" to be a flash memory IC, and so on. All these differences and deviations from the "standard" are documented in the Simulator Objects section.
Perhaps the most important set of differences between the Simulator and "real" hardware is related to the networking features of the Simulator. These differences are explained in Network Communications on the Simulator.
Memory space and key info
RAM |
66,816 bytes for application variables and data |
Flash |
786,432 bytes for application storage, and separately 1,048,576 bytes for data storage (dedicated flash disk memory) |
EEPROM |
2040 bytes for application data |
TiOS firmware version |
[V3.60] |
32-bit platform |
|
Clock frequency (CLOCK) and clock control |
Defined by the speed of your PC |
Available network interfaces |
Ethernet (net.)(1) |
N/A, this platform does not have any GPIO lines |
|
UART limitations |
N/A, this platform does not have any UARTs |
N/A |
|
N/A |
|
N/A |
|
N/A |
|
ADC |
N/A |
GA1000 support |
N/A |
WA2000 support |
N/A |
N/A, this platform does not support Wi-Fi |
|
Beep.divider calculation |
N/A, beep. object uses fixed frequency |
Recommended buzzer frequency divider |
N/A |
Platform supports virtual 320x240 color display |
|
28 bytes for MAC and device password storage(2) |
|
16 bytes GUID generated on your Windows system. Cannot be changed. |
|
Dedicated |
|
Self-upgrades for the Tibbo-BASIC/C app. |
Not supported |
Green status (SG) "LED" in the Simulator window Red status (SR) "LED" in the Simulator window |
|
UDP Broadcast transport WinPCap transport |
Comments:
- The sock.allowedinterfaces property refers to the Ethernet interface as "NET". Sock.targetinterface and sock.currentinterface properties rely on the pl_sock_interfaces enum, whose members differ depending on the platform.
- The MAC address from the special configuration section is not actually used by the net. object. The net. object on the Simulator always uses the MAC address of the host PC.
Supported Objects, variable types, and functions
- Sock — socket communications (up to 16 UDP, TCP, and HTTP sessions);
- Net — controls a virtual Ethernet interface (which works through the WinPcap driver, more on this in Network Communications on the Simulator);
- Lcd — implements a virtual LCD screen in the Simulator's window;
- Kp — facilitates input from 16 buttons found in the Simulator's window;
- Rtc — keeps track of date and time;
- Fd — manages simulated flash memory file system;
- Stor — provides access to the simulated EEPROM;
- Romfile — facilitates access to resource files (fixed data);
- Pat — "plays" patterns on green and red "LEDs" found in the Simulator window;
- Beep — generates audible patterns, played back through the default audio channel of your PC;
- Button — monitors the virtual MD button found in the Simulator window;
- Sys — in charge of general Simulator's functionality.
This platform supports the standard set of variable types and functions (a.k.a. "syscalls").
Platform-specific constants
You can find them here.