# HG changeset patch # User Pascal Bellard # Date 1491233448 -7200 # Node ID 69faca221dde055f5af30baf168906df2f82631f # Parent a7fbb1c5c71a4c93b7f9b2d242f58d02d31abec7 bluez: add /usr/bin/bluepin diff -r a7fbb1c5c71a -r 69faca221dde bluez/receipt --- a/bluez/receipt Mon Apr 03 15:12:17 2017 +0200 +++ b/bluez/receipt Mon Apr 03 17:30:48 2017 +0200 @@ -63,3 +63,14 @@ cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent cp $src/audio/audio.conf $fs/etc/bluetooth } + +# Post message when installing. +post_install() +{ + [ -s $1/usr/bin/bluepin ] || cat > $1/usr/bin/bluepin <=1mb flag push ax ; srcseg, dstseg @@ -300,24 +301,6 @@ endp _memcpy32 - ifdef NO386 - global N_LXURSH@:near - global N_LXURSH@4:near - proc N_LXURSH@4 near - - mov cl,4 -N_LXURSH@: - mov ch,0 -@@loop: - shr dx,1 - rcr ax,1 - loop @@loop - ret - - endp N_LXURSH@4 - - endif - ends _TEXT end diff -r a7fbb1c5c71a -r 69faca221dde linld/stuff/src/MEMTOP.ASM --- a/linld/stuff/src/MEMTOP.ASM Mon Apr 03 15:12:17 2017 +0200 +++ b/linld/stuff/src/MEMTOP.ASM Mon Apr 03 17:30:48 2017 +0200 @@ -114,6 +114,25 @@ ; endp _memtop_88 + ifdef NO386 + global N_LXURSH@:near + global N_LXURSH@4:near +; proc N_LXURSH@4 near +N_LXURSH@4: + mov cl,4 +N_LXURSH@: + mov ch,0 +@@loop: + shr dx,1 + rcr ax,1 + loop @@loop + ret + +; endp N_LXURSH@4 + + endif + + ; proc _memtopz near ; call _memtop_e801 diff -r a7fbb1c5c71a -r 69faca221dde linld/stuff/src/_BEG.ASM --- a/linld/stuff/src/_BEG.ASM Mon Apr 03 15:12:17 2017 +0200 +++ b/linld/stuff/src/_BEG.ASM Mon Apr 03 17:30:48 2017 +0200 @@ -195,7 +195,8 @@ or dl,dl je arglp ; not start of string dec si - jmp newarg + ;jmp newarg + db 0B9h ; mov cx,im opcode isargstr: mov ah,al ; expected eos newarg: