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: 709

Views: 1967

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: Cheyenne Tactical M200 Intervention
Rating: 6.1111
Filesize: 230.76 kB
Downloads: 3089
Comments: 10
Ratings: 3
Date added: 2014/04/06 00:10:22
Made with: Algodoo v2.1.0
Rating: rated 6.1
download
Title: SLR Camera
Rating: 5
Filesize: 0.51 MB
Downloads: 1843
Comments: 8
Ratings: 1
Date added: 2011/11/09 18:00:53
Made with: Algodoo v2.0.0
Rating: rated 5
download
Title: Flasher Tool For Non-Scripted Scenes
Rating: 5.5
Filesize: 101.03 kB
Downloads: 913
Comments: 4
Ratings: 2
Date added: 2014/01/08 07:01:15
Made with: Algodoo v2.1.0
Rating: rated 5.5
download
Title: Fully Function DSLR
Rating: 7
Filesize: 116.12 kB
Downloads: 5402
Comments: 10
Ratings: 7
Date added: 2012/07/02 18:45:55
Made with: Algodoo v2.0.1
Rating: rated 7
download
Title: Motocross mit neuer Federung
Rating: 5.625
Filesize: 32.49 kB
Downloads: 428
Comments: 1
Ratings: 2
Date added: 2009/08/28 21:18:03
Made with: Phun
Rating: rated 5.6
download
Title: Flash car
Rating: 5
Filesize: 63.8 kB
Downloads: 121
Comments: 0
Ratings: 1
Date added: 2020/04/17 06:54:14
Made with: Algodoo v2.1.3
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) 616 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: 630
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!