spacemmo's Introduction
vm: * bootstrap external disk manipulation boot sector * scheduler * paging set isr memory access: mmu on? page found? kgo page not found? call isr * interrupts code -> int kbd: save isr tty: send char clk: save isr, set timer port: pop input len, send input to port code <- int check events: kbd: push key, handle isr clk: handle isr port: push output len, send output to mem o disable update timer when not halted * refactor op handlers * add pseudo immediate mode instructions * add two-op swap instruction * dos * unix * fpu * gfx * sound hw: * engine * radar * lifesupport * nav * network game: * c++ * gfx * sound * netcode client_t entity_t entity entity_id_t id vec3f pos vec3f vel vec3f acc system_t system cpu_t cpu server_t server client_t clients[] world_t world cluster_t clusters[] system_t systems[] sector_t sectors[] entity_t entities[] ui_t ui console_t console client_loop() update_client(dt) update_server(dt) update_world(dt) foreach entities: update_entity(dt) update_cpus() send_login_request(username, password) handle_server_response(packet) handle_login_success_response(id) client.id = id handle_login_failure_response() handle_entity_request(entity) if (entity->id == client->id) client->entity = entity add_entity(world, entity) send_entity_response() server_loop() update_server(dt) handle_client_request(packet) handle_login_request(username, password) if (auth(username, password)) client = init_client() client->sock = sock client->entity = init_entity() send_login_success_response(e.id) send_entity_request(entity) else send_login_failure_response() vim: ts=4:sts=4:sw=4:et
spacemmo's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.