A linux command line calendar written in 32-bit x86 assembly. Prints and tracks user submitted events.
Here is an initial example of how mktime works in assembly: https://stackoverflow.com/a/19172500
I built off this idea to create a functional planner calendar that:
- Starts at the current month.
- Is able to be traverse backward and forward month at a time.
- Creates and removes user submitted events that are associated with each month.
- Each event is saved and sorted when printed out to the terminal.
- Functional clear_screen and raw_mode utilization that makes traversing and exiting the calender look nice.
- Download and extract cal.zip from the releases page.
- Open a terminal within the cal folder and change permission of the install script by running
chmod +x install.sh
. - Run the install script by running
sudo ./install.sh
.
Run the calendar by typing cal
in the command line.
While the calendar is running:
a
- Traverse back one month.
d
- Traverse forward one month.
w
- Remove an event.
s
- Add an event.
x
- Exit the calendar.
There are future fixes and implementations I would like to take note of:
- Implement leap year.
- Make events unique to the specific month of the year.
- Make multiple events for a single day.