mirror of
https://github.com/thamugadi/powerpc-ofw-boot.git
synced 2024-12-26 20:30:33 +00:00
Press any key
This commit is contained in:
parent
720f391a10
commit
9da011a73c
@ -13,10 +13,11 @@ void __eabi(void)
|
||||
//void* ofw_interpret(char* cmd, int32_t* stack_args, int n_stack_args, int n_ret_args, int32_t* reta
|
||||
void main(void)
|
||||
{
|
||||
puts("ABCD", 4);
|
||||
puts("Press any key to continue", 25);
|
||||
ofw_interpret("blink-screen", 0, 0, 0, 0);
|
||||
|
||||
ofw_interpret("key", 0, 0, 1, (int32_t*)0x03020000);
|
||||
|
||||
puts("Starting...", 11);
|
||||
if (ofw_test("open"))
|
||||
{
|
||||
asm("mr 27, 28");
|
||||
|
Loading…
Reference in New Issue
Block a user