336 |
|
status = COMPILE_CODE_OK; |
337 |
|
break; |
338 |
|
} |
339 |
+ |
#endif |
340 |
|
case NATIVE_CHECK_LOAD_INVOC: |
341 |
|
dg.gen_load_T0_GPR(3); |
342 |
|
dg.gen_load_T1_GPR(4); |
352 |
|
dg.gen_invoke_T0_T1_T2((void (*)(uint32, uint32, uint32))named_check_load_invoc); |
353 |
|
status = COMPILE_CODE_OK; |
354 |
|
break; |
355 |
< |
#endif |
356 |
< |
case NATIVE_BITBLT: |
355 |
> |
case NATIVE_NQD_SYNC_HOOK: |
356 |
> |
dg.gen_load_T0_GPR(3); |
357 |
> |
dg.gen_invoke_T0_ret_T0((uint32 (*)(uint32))NQD_sync_hook); |
358 |
> |
dg.gen_store_T0_GPR(3); |
359 |
> |
status = COMPILE_CODE_OK; |
360 |
> |
break; |
361 |
> |
case NATIVE_NQD_BITBLT_HOOK: |
362 |
> |
dg.gen_load_T0_GPR(3); |
363 |
> |
dg.gen_invoke_T0_ret_T0((uint32 (*)(uint32))NQD_bitblt_hook); |
364 |
> |
dg.gen_store_T0_GPR(3); |
365 |
> |
status = COMPILE_CODE_OK; |
366 |
> |
break; |
367 |
> |
case NATIVE_NQD_FILLRECT_HOOK: |
368 |
> |
dg.gen_load_T0_GPR(3); |
369 |
> |
dg.gen_invoke_T0_ret_T0((uint32 (*)(uint32))NQD_fillrect_hook); |
370 |
> |
dg.gen_store_T0_GPR(3); |
371 |
> |
status = COMPILE_CODE_OK; |
372 |
> |
break; |
373 |
> |
case NATIVE_NQD_UNKNOWN_HOOK: |
374 |
> |
dg.gen_load_T0_GPR(3); |
375 |
> |
dg.gen_invoke_T0_ret_T0((uint32 (*)(uint32))NQD_unknown_hook); |
376 |
> |
dg.gen_store_T0_GPR(3); |
377 |
> |
status = COMPILE_CODE_OK; |
378 |
> |
break; |
379 |
> |
case NATIVE_NQD_BITBLT: |
380 |
|
dg.gen_load_T0_GPR(3); |
381 |
|
dg.gen_invoke_T0((void (*)(uint32))NQD_bitblt); |
382 |
|
status = COMPILE_CODE_OK; |
383 |
|
break; |
384 |
< |
case NATIVE_INVRECT: |
384 |
> |
case NATIVE_NQD_INVRECT: |
385 |
|
dg.gen_load_T0_GPR(3); |
386 |
|
dg.gen_invoke_T0((void (*)(uint32))NQD_invrect); |
387 |
|
status = COMPILE_CODE_OK; |
388 |
|
break; |
389 |
< |
case NATIVE_FILLRECT: |
389 |
> |
case NATIVE_NQD_FILLRECT: |
390 |
|
dg.gen_load_T0_GPR(3); |
391 |
|
dg.gen_invoke_T0((void (*)(uint32))NQD_fillrect); |
392 |
|
status = COMPILE_CODE_OK; |
1057 |
|
case NATIVE_ETHER_RSRV: |
1058 |
|
gpr(3) = ether_rsrv((queue_t *)gpr(3)); |
1059 |
|
break; |
1060 |
< |
case NATIVE_SYNC_HOOK: |
1060 |
> |
case NATIVE_NQD_SYNC_HOOK: |
1061 |
|
gpr(3) = NQD_sync_hook(gpr(3)); |
1062 |
|
break; |
1063 |
< |
case NATIVE_BITBLT_HOOK: |
1063 |
> |
case NATIVE_NQD_UNKNOWN_HOOK: |
1064 |
> |
gpr(3) = NQD_unknown_hook(gpr(3)); |
1065 |
> |
break; |
1066 |
> |
case NATIVE_NQD_BITBLT_HOOK: |
1067 |
|
gpr(3) = NQD_bitblt_hook(gpr(3)); |
1068 |
|
break; |
1069 |
< |
case NATIVE_BITBLT: |
1069 |
> |
case NATIVE_NQD_BITBLT: |
1070 |
|
NQD_bitblt(gpr(3)); |
1071 |
|
break; |
1072 |
< |
case NATIVE_FILLRECT_HOOK: |
1072 |
> |
case NATIVE_NQD_FILLRECT_HOOK: |
1073 |
|
gpr(3) = NQD_fillrect_hook(gpr(3)); |
1074 |
|
break; |
1075 |
< |
case NATIVE_INVRECT: |
1075 |
> |
case NATIVE_NQD_INVRECT: |
1076 |
|
NQD_invrect(gpr(3)); |
1077 |
|
break; |
1078 |
< |
case NATIVE_FILLRECT: |
1078 |
> |
case NATIVE_NQD_FILLRECT: |
1079 |
|
NQD_fillrect(gpr(3)); |
1080 |
|
break; |
1081 |
|
case NATIVE_SERIAL_NOTHING: |