Commit Graph

22 Commits

Author SHA1 Message Date
Vincent Ollivier 2b91c9ccc7
Add e1000 driver (#337)
* Add e1000 network card support

* Read MAC from EEPROM

* Read MAC without EEPROM

* Add device id for ThinkPad X200

* Fix makefile merge

* Add todo list

* Add WIP implementation

* Add qemu trace to makefile

* Rewrite parts of the implementation

* Fix descriptor cloning

* Return received buffer

* Break from loop when transmitted

* Comment out debug code

* Comment out more code

* Rename allocator variables

* Fix debug issue

* Add more device ids

* Reset RxDesc status when done

* Process packet even if ICR_RXT0 is set

* Remove debug output

* Refactor code

* Fix typo

* Fix RDT updates

* Update documentation

* Update makefile to match doc

* Group network cards in readme

* Refactor code

* Avoid using ICR to check for new packets

* Fix panic on invalid datagram size

* Refactor code to stay below 80 chars

* Increase buffer size

* Add FIXME to test for EOP

* Clean up code

* Add PCI id for I217-LM

* Update hardware page

* Add PCI id for the Intel PRO/1000 GT

* Update hardware page

* Fix init_tx for Intel I217-LM

* Refactor comments

* Update website

* Fix whitespace

* Update doc for VirtualBox

* Reorder cards in doc

* Reorder cards in doc

* Restore signal

* Move makefile trace option to qemu

* Add ThinkCentre M83 to hardware list

* Increase receive buffer back to 64

* Refactor reset

* Print MAC address in uppercase

* Disable interrupts

* Add TODO comment
2024-04-08 15:23:40 +02:00
Vincent Ollivier f6b8946b37
Publish version 0.10.2 (#599)
* Update changelog

* Update version number

* Update copyright year

* Update website

* Reorder changelog

* Recompile userspace binaries

* Update changelog

* Update screenshot
2024-03-20 15:44:46 +01:00
Vincent Ollivier 5ca0894241
Update documentation (#592)
* Add ntp to manual

* Refactor ntp script

* Update website

* Update install output

* Move ntp to the bottom of the manual

* Update light palette screenshot

* Update manual install output

* Update changelog

* Refactor net code

* Update website

* Update binaries

* Refactor long lines

* Update changelog

* Refactor device try_from

* Update doc
2024-03-15 19:08:10 +01:00
Vincent Ollivier 362e905990
Publish version 0.10.2 (#562)
* Bump MOROS version to 0.10.2

* Update changelog

* Bump lisp to 0.7.0

* Update documentation

* Add links to PRs in changelog

* Add missed version bumps in doc

* Update screenshot

* Update some binaries
2023-12-22 11:52:47 +01:00
Vincent Ollivier 82bc08ed96
Add number->string function to lisp (#561)
* Add number->string function

* Add alias

* Add documentation
2023-12-19 22:51:13 +01:00
Vincent Ollivier 9f525990a5
Improve Lisp with Advent of Code 2023 🎄 (#556)
* Add contains? to Lisp

* Use ls everywhere instead of lst

* Rename system command to shell

* Exec '/ini/lisp.lsp' at startup

* Check if init file exist

* Add missing lisp init file

* Remove contains?

* Add empty? function

* Add reject? function

* Update doc

* Add dict type to Lisp

* Add push function

* Add binary literals to doc

* Move push function from primitive to core lib

* Update lisp doc

* Add escape character to parser

* Add backspace to parser

* Update doc

* Add host function

* Fix regex.match?

* Test if and while for truthiness instead of comparing with true

* Add tests for empty string and 0

* Mention truthiness in changelog

* Check for unspecified IPv4 in usr::host::resolv

* Transform host error into nil

* Update ntp.lsp to support hostnames

* Fix typo

* Fix escape display

* Use '/' instead of '.' as namespace separator

* Add doc.lsp

* Fix comment color

* Update changelog
2023-12-17 17:24:55 +01:00
Vincent Ollivier d22c504726
Improve system information (#553)
* Add socket command to manual

* Update syscall doc

* Update copyright year in help command

* Fix lisp include

* Fix error styling in shell

* Use uppercase hex

* Update website

* Move some CSI color positions

* Update line-height
2023-12-01 16:51:02 +01:00
Vincent Ollivier 02c1b7f52a
Improve documentation (#547)
* Update readme

* Add hardware page

* Add contributing page

* Update changelog

* Update contributing

* Update index

* Add games page

* Move images to doc/images

* Rebuild website

* Fix dsk/var/www

* Update contributing

* Change games order
2023-11-19 21:03:10 +01:00
Vincent Ollivier 96b20dfb51
Add support for hexadecimal numbers in Lisp (#540)
* Add support for hexadecimal numbers in lisp

* Add source in comment

* Add support for 0X

* Add doc

* Remove extra space in doc

* Remove plural

* Add negative number to doc

* Update doc

* Fix typo

* Add ntp client

* Add ntp to install

* Remove ntp code
2023-11-17 10:08:25 +01:00
Vincent Ollivier a82c87c61c Publish version 0.10.1 2023-09-23 09:09:31 +02:00
Vincent Ollivier b606c064c6
Add network syscalls (#512)
* Add connect syscall

* Add tcp socket device

* Add socket.connect to lisp

* Rewrite tcp command to use the syscalls

* Rewrite http command to use the syscalls

* Use socket#recv_slice instead of socket#recv

* Move connect to net module

* Refactor connect

* Refactor code

* Add listen syscall

* Add accept

* Add close to FileIO

* Fix write loop

* Add poll syscall

* Rewrite socket command to use poll

* Update console polling

* Rename file handle to handle

* Remove prompt option from socket

* Make poll blocking with timeout and cancel

* Add one byte status read

* Remove poll blocking

* Fix error when connect is followed directly by close

* Change tcp and socket command arguments

* Add sleep while polling without events

* Speed up connection failure detection

* Add back some verbose output

* Fix socket listen

* Split net files

* Add UDP sockets

* Refactor host command code

* Move shared socket code to module

* Use recommended buffer size in socket file size

* Remove debug output

* Fix fallback socket size

* Update html doc

* Update network screenshot

* Update lisp manual
2023-07-29 16:24:45 +02:00
Vincent Ollivier 5003296c30 Fix lisp doc 2023-07-03 09:28:37 +02:00
Vincent Ollivier 111933fafc Add missing aliases 2023-07-02 09:34:01 +02:00
Vincent Ollivier f806c3a338
Add namespaces to lisp (#511)
* Add file module

* Add r and t literals

* Add string support in contains

* Add number, string, and regex modules

* Fix tests

* Fix lib

* Fix split in lib

* The % operator is for remainder instead of modulo

* Rename internal binary functions

* Add mod and rem and alias % to the latter

* Use dot instead of colon for namespacing

* Rename *-file* functions

* Update www

* Update changelog
2023-07-02 09:20:49 +02:00
Vincent Ollivier 2de3eb02bf Remove missing symlink 2023-06-21 23:08:35 +02:00
Vincent Ollivier 86a8319515
Publish release 0.10.0 (#507)
* Regenerate www for lisp doc

* Update example email address

* Fix changelog

* Rewrite old changelog as list

* Update changelog

* Update version

* Add links to changelog

* Fix links

* Add date to lisp changelog

* Fix banner for longer version number

* Update screenshot

* Regenerate www

* Remove boot.png

* Update lisp version to 0.5.0

* Update chess version to 0.2.0

* Add screenshot script
2023-06-21 20:17:54 +02:00
Vincent Ollivier 9c850e108b
Add full support for comments in MOROS Lisp (#489)
* Add full support for Lisp comments

* Update changelog

* Update doc
2023-05-24 23:20:54 +02:00
Vincent Ollivier 7665c11a9a
Fix RTL8139 driver issues (#483)
* Fix typo in rx buffer size

* Fix issue with small packets tx

* Change tx buffer len

* Fix tx ring overflow

* Use 1024 bytes for max DMA burst size

* Use spin_loop

* Add atomic fence before polling for status change

* Disable interrupts

* Update device capabilities

* Fix http service

* Update /var/www

* Refactor buf len

* Update changelog
2023-05-05 23:14:42 +02:00
Vincent Ollivier 1396d7c8d2 Fix typo 2023-04-28 22:39:02 +02:00
Vincent Ollivier 2f7f33b950
Improve help system (#481)
* Rename shortcut to command in help

* Add dir arg to list usage

* Add help to read command

* Add help to write command

* Add help to date command

* Add manual

* Add help to copy

* Add help to delete

* Add help to dhcp

* Add help to edit

* Add elf command to autocomplete

* Update boot in manual

* Add help to elf

* Add help to env

* Add help to help

* Add help to hex

* Add help to lisp

* Add help to move

* Add help to shell

* Refactor user help

* Update crates

* Improve debug

* Update binaries

* Increase user process memory space

* Exit process before shutdown

* Add more content to manual

* Update manual

* Update screenshots

* Update index.md

* Add link to the manual

* Update shields in readme

* Add links to the manual

* Add games to README

* Rewrite the first part of the index

* Remove a word

* Rewrite usage section

* Add demo section

* Rewrite part of the doc

* Remove html files

* Add make website command

* Commit html files

* Fix indentation

* Fix code block

* Add monitor option to qemu to take screenshots

* Update CSS

* Fix CSS

* Add font-family sans-serif to website
2023-04-27 19:34:05 +02:00
Vincent Ollivier 530658221d
Add socket command (#341)
* Add socket command

* Add test.html page

* Refactory sending code

* Update documentation

* Fix newlines

* Add interval option

* Replace newlines

* Exit on end of transmission

* Add listen mode

* Fix arguments parsing

* Remove debug output
2022-05-21 10:46:16 +02:00
Vincent Ollivier 591a54e348
Add website (#261)
* Add www dir for the website

* Update html

* Add website

* Refactor CSS

* Fix image path

* Update assets

* Update doc and readme description

* Reorder badges

* Update doc index title
2021-11-01 08:58:22 +01:00