From cb034afe3189cadce16ba0111748e85f196845d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sat, 8 Apr 2017 16:29:01 +0000 Subject: [PATCH] fix indentation --- BaS_gcc/xhdi/xhdi_vec.S | 48 ++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/BaS_gcc/xhdi/xhdi_vec.S b/BaS_gcc/xhdi/xhdi_vec.S index 1ef7a88..e04c437 100644 --- a/BaS_gcc/xhdi/xhdi_vec.S +++ b/BaS_gcc/xhdi/xhdi_vec.S @@ -20,46 +20,46 @@ * * Created on: 26.02.2013 * Author: Markus Fröschle - */// + */ + +// // XHDI entry point // - .extern _xhdi_call + .extern _xhdi_call - .globl _xhdi_vec - .globl _xhdi_sd_install + .globl _xhdi_vec + .globl _xhdi_sd_install // // this is where the XHDI cookie points to: // - .text - dc.b 'B','A','S','_' + .text + .byte 'B','A','S','_' _xhdi_vec: - lea -12(sp),sp // save all used registers according to XHDI spec - movem.l d1/a0-a1,(sp) + lea -12(sp),sp // save all used registers according to XHDI spec + movem.l d1/a0-a1,(sp) - pea 16(sp) // forward address of parameters on stack - jsr _xhdi_call // to internal routine - addq.l #4,sp // correct stack + pea 16(sp) // forward address of parameters on stack + jsr _xhdi_call // to internal routine + addq.l #4,sp // correct stack - movem.l (sp),d1/a0-a1 // restore registers - lea 12(sp),sp - rts + movem.l (sp),d1/a0-a1 // restore registers + lea 12(sp),sp + rts - .bss + .bss _old_vector: - .ds.l 1 + .long 1 - .text + .text // // trap #0 handler to bring the address of the disk routines into TOS // _xhdi_sd_install: - move.l 4(sp),d0 // address of the old XHDI vector - move.l d0,_old_vector // save it - just in case we need it later - move.l #_xhdi_vec,d0 // return our BaS vector to TOS - move.l d0,a0 // - rte - -// vim: set syntax=asm68k : + move.l 4(sp),d0 // address of the old XHDI vector + move.l d0,_old_vector // save it - just in case we need it later + move.l #_xhdi_vec,d0 // return our BaS vector to TOS + move.l d0,a0 // + rte