New Commands for DOS!
In this devlog, I added new commands for my OS:
-
CALCULATE: Performs basic operations on 2 numbers. Usage:CALCULATE [Number] [+ - * / ^ root] [Number] -
GPIO: Turns on a specified GPIO for 1 second. Usage:GPIO [LED# IO# BELL MOTOR] -
VERSION: Shows the release version. -
REBOOT: Reboots the system. Usage:REBOOT -m [BASIC BOOTSEL]* -
INFO: Displays device and memory information. -
UPTIME: Shows device uptime.
I took quite a while to find out how to make the CALCULATE command work. Initially, 1/3 was returning 0. Turns out the problem was due to me using integers instead of doubles!
Here’s a demo video of the OS!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.