Recent Posts

Pages: [1] 2 3 ... 10
1
The convenience packs didn't have acpi.psd and didn't support SMP IIRC. He does have AOS 5.0 working which probably has acpi.psd.
2
Programming / Re: [Classic Rexx] How can one pipe data to application?
« Last post by Dave Yeo on Today at 02:39:12 am »
What about binary vs text? Often in C have to purposely set the pipe to binary, though for sending sending commands to a program it shouldn't matter.
3
DOSCALL1.DLL
0002:0000a499  P1=00000001  P2=00000004  P3=XXXXXXXX  P4-XXXXXXXX
EAX=000300a2  EBX=00000000  ECX=000300aa EDX=bfeb9f45 ESI-ffde0100
EDI=febf44cc  DS-0053       DSACC=d0f3   DSLIM=3fffffff
ES-0053 ESACC=d0f3  ESLIM=3fffffff  FS-150b  FSACC=00f3
FSLIM-00000030 GS-0000  GSACC=****  GSL IM=****  CS:EIP-005b:1c02a499
CSACC=d0df  CSLIM=3fffffff  SS: ESP-0053:0003008a  SSACC=d0f3
SSLIM=3fffffff  EBP-00030062  FLG=00213202


----------------------------------------------------------------------------------------------------

99% of all c0000005/DOSCALL1 traps on Intel G31/G41 boards are caused by BIOS or ACPI issues.
First, try disabling ACPI and set SATA to "IDE" or "Legacy" mode in the BIOS, then gradually enable components one by one.
If the system still crashes, possible causes include faulty RAM or exotic hardware (such as PCIe graphics cards or special USB devices).

------------------------------------------------------------------------------------------------------
BIOS setting:
Set the SATA/IDE mode to IDE, NOT to “AHCI”!
Prefer “Native Mode” or “Legacy” if available.


In the boot menu (press Shift or F2 at startup):
Comment out the line
BASEDEV=ACPI.PSD
in your CONFIG.SYS (add REM at the beginning of the line). >> #REM BASEDEV=ACPI.PSD

Good Look
4
General Discussion / Re: Hobbes is down
« Last post by Martin Iturbide on June 11, 2025, 10:42:03 pm »
Hello Neil.

I see hobbes web server back and I can download files, but there are some dead link. I suspect the dead links are from the newer stuff, like BackEmUp or the latest xwp.  I don't know the exactly date of the backup that Nathan restored.

Regards

Update: I'm not completely right here, some newer uploaded files like "PALMTRIS_1-1_nl.zip" and "STAAF_1-2a_nl.zip" (Uploaded 025-05-21)  are downloading fine.

5
Programming / Re: [Classic Rexx] How can one pipe data to application?
« Last post by Remy on June 11, 2025, 06:36:59 pm »
ok, this pipe info out of the application into the script (WIN),

how do one send instructions out from the script (WIO) into the application (applications stdin)?

Use the pipe as input mode too
may be specifying dual mode (I didn't have time to give it a try)+ something like <\pipe\nnnnnnn before the >\pipe\nnnnnnn and instcnt to 2!
Use the write function from rxutilex to write into the pipe

The application should support using pipe input and output.

sqlite3 seems to use special syntax
6
Another question. Did you simply move your HD from one system to the other of did you try copying the system to a new drive? If you copied it, how did you copy it? Either way, is the drive letter the same? OS/2 really doesn't like the drive letter changing and copying the system over has to be done correctly to copy everything including meta-data.
7
I've moved OS/2 installs to different computers many times. It usually mostly works though during boot there would be messages about a driver not loading, push enter to continue type of thing, usually the network adapter. Then these can be fixed.
You say you have AOS working on your device so most BIOS settings should be correct.
Boot AOS, do,
Code: [Select]
COPY IBMS506$ con:
or
Code: [Select]
COPY IBMS506$ anyfile
and post the output
8
Programming / Re: [Classic Rexx] How can one pipe data to application?
« Last post by Dave Yeo on June 11, 2025, 05:12:59 pm »
Example 1: "SysFileTree" was unthinkable to me to use to find or search for files when I begun to try Rexx, the function should have been named SysSearchPath, SysFindFile or something along those lines, not "...Tree", totally bonkers name.

When sub-directories were first introduced, they were often described as a tree. The root (directory), branches or stems (sub-directories) and leaves (files). There were even commands such as deltree to delete multiple sub-directories in a branch.
9
Programming / Re: [Classic Rexx] How can one pipe data to application?
« Last post by Jan-Erik Lärka on June 11, 2025, 04:49:36 pm »
ok, this pipe info out of the application into the script (WIN),

how do one send instructions out from the script (WIO) into the application (applications stdin)?
10
Programming / Re: [Classic Rexx] How can one pipe data to application?
« Last post by Remy on June 11, 2025, 02:54:57 pm »
There's a text file mentioning how to call functions, but most people new to something as this need help to grasp how and why to knit this function together with that to achieve the desired result.

Example 1: "SysFileTree" was unthinkable to me to use to find or search for files when I begun to try Rexx, the function should have been named SysSearchPath, SysFindFile or something along those lines, not "...Tree", totally bonkers name.

Example 2: Pipe in, pipe out. What "end" of the pipe do one define? I want to output data as text instructions/parameters to one end of the pipe to be sent through the pipe into the application as instructions/parameters just as input by keyboard. It should not block the application that run.

Could you enlighten me how to do such things with RXUTILEX?

How to send commands to sqlite3.exe

:D

I wrote quickly a few lines (not checked but should be helpfull) usable to read program outputs into a pipe (pipeout) !

Code: [Select]
/* rexx cmd */
Call RxFuncAdd 'Sys2LoadFuncs','rxutilex','Sys2LoadFuncs'
Call  Sys2LoadFuncs
pipe_rxutilex=rxfuncquery('Sys2CreateNamedPipe')

/* setting a few vars */
EOF1 = x2c("0D")
EOLF = x2c("0A")
/* vars used for pipe function */
pipename = '\pipe\'||'mynamedpipe'    /* to always have unique pipe name, you can append clock time to a short name */
openmode = 'WIN'
pipemode = 'WTR'
instcnt            = '1'               /* one only for the program pipeout */
outbuf = '4096'
inbuf = '4096'
timeout = '10000'
readbufsize = '4096'
pipeway = 'I' /* I= In, O= Out, D=dual */   
/* ------------------ */
If pipe_rxutilex=0 then call pipe_proc
Else exit 28 

pipe_proc:
If pipe_rxutilex=0 then do
hpipe = Sys2CreateNamedPipe(pipename,outbuf,inbuf,timeout,instcnt,,pipeway,1,)
If word(Sys2CheckNamedPipe(hpipe),1)\= 0 then do
Say "Rexx Create Named Pipe failed rc: "||word(Sys2CheckNamedPipe(hpipe),1)
Ddosrc='6 0'
Call disc_closepipe
End
Else do
hpipecon = Sys2ConnectNamedPipe(hpipe)
If word(hpipecon,1)=0 then do
Say "Rxutilex Rexx Connect Named Pipe failed"
Ddosrc='6 0'
Call disc_closepipe
End
Else Say "Rxutilex Rexx Connect Named Pipe succeeded ("||hpipecon||")"
data = Sys2Read(hpipe,readbufsize)
If data\='' then Ddosrc='0 '||length(data)
Else do
Ddosrc='6 0'
Call disc_closepipe
End
'@start '||' your program and parameters '||' >'||pipename||' 2>&1'       /* program started with usable pipe - pipeout example */ 
Call pipe_read
End
End
return

pipe_read:
Do while word(Ddosrc,1) = 0 & word(Ddosrc,2) > 0
data=translate(data,' ',EOF1||EOLF) /* or remove this line */
Select
When wordpos('your search word into the line',data)>0 then do
/* */    Say data
/* your process */
End
Otherwise
nop
End
data = Sys2Read(hpipe,readbufsize)
If data\='' then Ddosrc='0 '||length(data)
Else Ddosrc='6 0'
End
return

disc_closepipe:
dosrc = Sys2DisconnectNamedPipe(hpipe)
clrc=Sys2Close(hpipe)
exit

(for pipe in, dual mode should be set, namedpipe usable for in and out and use write to the pipe to send datas to the appl)   ::)   
Pages: [1] 2 3 ... 10