git-svn-id: https://spexeah.com:8443/svn/Asuro@254 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
		| @@ -50,11 +50,15 @@ var | ||||
| procedure init(_controller : TPCI_device); | ||||
| procedure read(address : uint32); | ||||
| procedure write(address : uint32); | ||||
| procedure callback(data : void); | ||||
|  | ||||
| implementation | ||||
|  | ||||
| procedure init(_controller : TPCI_device); | ||||
| begin | ||||
|  | ||||
|     isr76.hook(uint32(@callback)); | ||||
|  | ||||
|     controller := _controller; | ||||
|     devices[0].primary := true; | ||||
|     devices[0].Command_Register := controller.address4; | ||||
| @@ -63,5 +67,10 @@ begin | ||||
|  | ||||
| end; | ||||
|  | ||||
| procedure callback(data : void); | ||||
| begin | ||||
| end; | ||||
|  | ||||
|  | ||||
|  | ||||
| end. | ||||
| @@ -111,7 +111,6 @@ begin | ||||
|      //drivers | ||||
|      console.writestringln('DRIVERS: INIT BEGIN.'); | ||||
|      pci.init(); | ||||
|      ata.init(); | ||||
|      keyboard.init(keyboard_layout); | ||||
|      keyboard.hook(@temphook); | ||||
|      mouse.init(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 aaron
					aaron