FET_sim.git
22 months agoChange t_mosfet to remember node id instead of ptr
Lukáš Jiřiště [Sun, 4 Feb 2024 13:01:48 +0000 (14:01 +0100)]
Change t_mosfet to remember node id instead of ptr

This prevents looking for node id when drawing.
Some changes were present when I started this change. I can't really
tell, what they were, but from the diffs it looks like just 2 or 3 minor
cosmetic changes. Sorry.

22 months agoAdd Libft/Makefile as dependency for %.c compilation
Lukáš Jiřiště [Sun, 14 Jan 2024 16:42:57 +0000 (17:42 +0100)]
Add Libft/Makefile as dependency for %.c compilation

Add Libft/Makefile as an order-only-prerequisite for %.c files so that
after cloning the repository the Libft submodule is downloaded. This is
needed because without the Libft headers some files cannot be compiled.

22 months agoAdd basic commands and refactor the code
Lukáš Jiřiště [Sun, 14 Jan 2024 16:34:41 +0000 (17:34 +0100)]
Add basic commands and refactor the code

Implement parsing of basic commands (help, next, add...)
 -Mostly (?) as wrapper around function from previous commit
 -It should be possible to do it in a much better way
Give the project some structure
 -split main.c
 -create src and inc directories

22 months agoAdd TODO text file
Lukáš Jiřiště [Sat, 13 Jan 2024 11:57:51 +0000 (12:57 +0100)]
Add TODO text file

The TODO list is quite short and not detailed. But better have it when it
is not needed yet than not have it when ideas are abundant. The
maintanance of TODO is so low it is worth adding.

22 months agoStart this project for simulating FET based logic
Lukáš Jiřiště [Sat, 13 Jan 2024 10:55:36 +0000 (11:55 +0100)]
Start this project for simulating FET based logic

Add a small project capable(?) of simulating FET logic. Implement basic
structs and logic for the simulation.
Implement depicting of the simulation state.
Add submodule Libft for use in place of (most of) standard library.
 - I develop this project for other reasons.
 - This is an added challenge for learning's sake.
Add basics of project management (Makefile, .gitignore).