elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
libc
/
c86
/
signalcb.s
File editor
; ; signalcb.s - signal callback from ELKS kernel for C86 ; ; 15 Feb 2025 Greg Haerr ; use16 86 .data .extern __sigtable .text .align 2 .global __signal_cbhandler __signal_cbhandler: push bp mov bp,sp pushf push ax push bx push cx push dx push si push di push ds push es mov ax,ss ; ensure valid DS (=SS) mov ds,ax mov ax,6[bp] ; get signal # push ax dec ax shl ax,#1 mov si,ax add si,#__sigtable mov bx,[si] call bx ; call _sigtable[sig-1] add sp,#2 pop es pop ds pop di pop si pop dx pop cx pop bx pop ax popf pop bp retf 2 ; get rid of the signum
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history