Browse Search Popular Register Upload Rules User list Login:
Search:
LX3 CPU with Flash, RAM and simple GPU

Image:
screenshot of the scene

Author: ags131

Group: Default

Filesize: 28.22 kB

Date added: 2010-12-03

Rating: 5.6

Downloads: 500

Views: 1657

Comments: 4

Ratings: 2

Times favored: 0

Made with: Algodoo before v1.8.5

Tags:

Scene tag

My Newest CPU with New LG1 GPU, 128 Sector RAM and 512 Flash
Flash is still in developement. It currently has to be set by a READ function and saved by a WRITE function. Better version hopefully in the future.
I will setup the system in a case with floppy support once flash works properly.:)
Boot rom is automaticly copied into ram starting at address 0
F2 reboots system

Programs are executed from memory. When the computer starts it executes memory address 0 Which contains ONE command. In this case, The first command from BOOT ROM. Boot rom MLOADS 20 sectors from flash starting at address0 and places them in memory starting at address 5. Then a goto 5 command is executed to boot the flash program that was copied. The copied program can contain instructions to copy more programs, and os, or even just print hello world.

CPU Commands:
LOAD reg memadd Loads data from Memory address into the specified register
STORE reg memadd Reverse of LOAD
CLOAD reg cont Same as LOAD except loads from the specified controller (Flash, LX1, etc)
CSTORE reg cont
CEVAL command Executes command. Most Useful with Controllers. EX: ["CEVAL","gpu.removeBox(\"disp1\", \"test\")"]
ADD reg1 reg2 reg3 Adds reg1 and reg2 and stores the result in reg3
GOTO line Transfer to program line specified
KEY key line1 line2 Goto line1 if key is pressed else goto line2
KEYWAIT key line1 Waits for key to be pressed before going to specified line
WAIT second Waits the specified seconds before continueing execution (Uses sim.time so may be longer or shorter depending on computer performance)

Please comment and Rate!
Last edited at 2010/12/03 19:29:27 by ags131
Please log in to rate this scene
edit
Similar scenes
Title: The Flash
Rating: 6.3333
Filesize: 116.25 kB
Downloads: 273
Comments: 2
Ratings: 3
Date added: 2008/07/04 04:29:16
Made with: Phun
Rating: rated 6.3
download
Title: Cheyenne Tactical M200 Intervention
Rating: 6.1111
Filesize: 230.76 kB
Downloads: 2811
Comments: 10
Ratings: 3
Date added: 2014/04/06 00:10:22
Made with: Algodoo v2.1.0
Rating: rated 6.1
download
Title: Motocross mit neuer Federung
Rating: 5.625
Filesize: 32.49 kB
Downloads: 322
Comments: 1
Ratings: 2
Date added: 2009/08/28 21:18:03
Made with: Phun
Rating: rated 5.6
download
Title: Dead Flash v.1
Rating: 5
Filesize: 86.46 kB
Downloads: 152
Comments: 0
Ratings: 1
Date added: 2015/07/16 17:27:36
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Musket
Rating: 5
Filesize: 0.75 MB
Downloads: 548
Comments: 0
Ratings: 1
Date added: 2016/12/27 02:27:34
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Benchmark
Rating: 5
Filesize: 9.67 kB
Downloads: 471
Comments: 9
Ratings: 1
Date added: 2012/02/27 01:47:12
Made with: Phun
Rating: rated 5
download
This scene is a response to:
Title Author Rating Downloads Comments Date added
LCS PC 10.5 with new LX1 CPU ags131 5.2 (3 votes) 422 2 2010/11/12 19:51:16
show grid
Responses to this scene
show list
Title: LX3.5 CPU with Flash, RAM and simple GPU
Rating: 4.5
Filesize: 27.57 kB
Downloads: 433
Comments: 0
Ratings: 2
Date added: 2010/12/17 17:13:27
Made with: Algodoo before v1.8.5
Rating: rated 4.5
download
Wow, that's a lot of script! But rebooting lags like hell for me.
still 10 for great effort
Rebooting lag is being fixed hopefully. The lag on reboot is caused by a ram reset. Has to clear all 128 sectors of ram.
ags131, did you try using a If Then Else method that checks if each sector is empty? It lags lesser when I tried it.
UPDATE: 9.9/10 for great effort.
Last edited at 2010/12/14 04:07:14 by CoolRulez12
Havent thought of that. Not sure if it ill work with the way its setup. Ill give it a try. Thanks!