; Copyright 2009 Castle Technology Ltd ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writing, software ; distributed under the License is distributed on an "AS IS" BASIS, ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ; See the License for the specific language governing permissions and ; limitations under the License. ; ; Stub functions for unsupported/unimplemented HAL features GET Hdr:ListOpts GET Hdr:Macros GET Hdr:System GET Hdr:Machine.<Machine> GET Hdr:ImageSize.<ImageSize> GET Hdr:Proc GET Hdr:OSEntries GET hdr.omap3530 GET hdr.StaticWS GET hdr.UART AREA |Asm$$Code|, CODE, READONLY, PIC EXPORT HAL_IICBuses EXPORT HAL_NVMemoryType EXPORT HAL_ATAControllerInfo ; EXPORT HAL_VideoFlybackDevice ; EXPORT HAL_Video_SetMode ; EXPORT HAL_Video_WritePaletteEntry ; EXPORT HAL_Video_WritePaletteEntries ; EXPORT HAL_Video_ReadPaletteEntry ; EXPORT HAL_Video_SetInterlace ; EXPORT HAL_Video_SetBlank ; EXPORT HAL_Video_SetPowerSave ; EXPORT HAL_Video_UpdatePointer ; EXPORT HAL_Video_SetDAG ; EXPORT HAL_Video_VetMode ; EXPORT HAL_Video_PixelFormats ; EXPORT HAL_Video_Features ; EXPORT HAL_Video_BufferAlignment ; EXPORT HAL_Video_OutputFormat EXPORT HAL_KbdScanSetup EXPORT HAL_KbdScan EXPORT HAL_KbdScanFinish EXPORT HAL_KbdScanInterrupt EXPORT HAL_Reset ; EXPORT Video_init HAL_NVMemoryType MOV a1, #0 ; none available MOV pc, lr HAL_IICBuses MOV a1, #0 ; none available MOV pc, lr HAL_ATAControllerInfo MOV a1, #0 MOV pc, lr ;Video_init ;HAL_Video_SetMode ;HAL_Video_WritePaletteEntry ;HAL_Video_WritePaletteEntries ;HAL_Video_SetInterlace ;HAL_Video_SetBlank ;HAL_Video_SetPowerSave ;HAL_Video_UpdatePointer ;HAL_Video_SetDAG ; MOV pc, lr ; ;HAL_Video_OutputFormat ;HAL_Video_VetMode ; MOV r0, #0 ; MOV pc, lr ; ;HAL_VideoFlybackDevice ; MOV a1, #-1 ; MOV pc, lr ; ;HAL_Video_PixelFormats ; MOV a1, #2_111111 ; MOV pc, lr ; ;HAL_Video_ReadPaletteEntry ROUT ; TEQ a1, #0 ; TEQNE a1, #2 ; BICEQ a1, a2, #&000000FF ; BBGGRR00 ; MOVNE a1, #0 ; MOV pc, lr ; ;HAL_Video_Features ; MOV a1, #2_010 ; no hw scroll, hw pointer, no interlace ; MOV pc, lr ; ;HAL_Video_BufferAlignment ; MOV a1, #4 ; MOV pc, lr HAL_KbdScan MOV a1, #&80000000 ; scan complete, no keyboard HAL_KbdScanSetup HAL_KbdScanInterrupt HAL_KbdScanFinish MOV pc, lr HAL_Reset B HAL_Reset END