What's the proper way to send PostScript to a PostScript (PS) printer? I haven't found any clear documentation on the matter. Is there a raw/PS pass-through in the printer.device?
AmiPDF seems to write PS to a DOS device. That works, but it seems rather messy.
I wanted to use the ADCMD_LOCK command with audio.device but I couldn't get it to work. I use the audio.device open allocation feature. Then send the lock command. According to the docs a successful ADCMD_LOCK command won't reply unless the channels are stolen. But in my testing it replied straight away with a zero error.
Printing on OS 4 has always been a sore spot. Talking at AmiWest over the weekend someone mentioned that solved this by making PDF's and uploading them to the printer via FTP. While my printer does not support the FTP approach, I still think it would be cool to have a native "PDF" driver.
I'm not an experienced coder but have done some C work. My question to the OS4 coding community is how hard would this be to do? Is there any good example code available to make a printer driver for AmigaOS 4? Any reason why this would not work?
I don't know if you had the same issue before, but I am using GetSysTime() to get the system date, and more specifically, the seconds number. This returns a 10 digit timestamp of the current date, or at least it should return that.
What I get is the right day, month and hour of the moment I run it, but minus 8 years. Of' course, the time on my system is synced and shows the right date, bit the GetSysTime() keeps giving a wrong year.
I am trying to serial.device unit 1 at 38400 baud and I am trying to send commands to it, but following code should shutdown A1222, but nothing happens. What am I doing wrong ?
Could any good soul provide me with a GNU-compilable C-only example/skeleton source code for an Amiga printer driver? I just can't make heads or tails of the assembler-ridden mumbo in the Dev Wiki :-(
How to repeat playing a selfmade waveform in memory as long as a note needs to keep playing ? I'm trying to do BeginIO again after I get a message port signaled. That way I can repeat the sound few times, but not properly I think, but after few times I don't get any sound at all no matter what I do. It's like AHI is somehow blocked or something.
I would like to learn how 'Timers' works on Amiga OS4.
I used Timers in other programming environments and i don't know if i can do (or how to do) the same things with the Amiga SDK in c or c++.
Just for example, in actionscript you can create a timer and program it to execute code at regular time or once.
You can also start, stop and change the update time at runtime.