![]() |
![]() |
#1 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,761
|
Code for "echo on" on KS1.3-3.1?
I put a program in s-s which outputted some text to CLI the normal way before starting an intro, and on A1200 3.1 at least, the screen stays black until the intro starts. (I relate this to the "hide CLI util Workbench loaded" on KS/OS2.0+.)
What's a best/smallest/nicest/most compatible asm/c code that (like e.g. echo " ") accomplishes the same - activates the Workbench screen with the CLI window on it? Just RemakeDisplay() and done? |
![]() |
![]() |
#2 |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,315
|
Just to understand, you want your program to wait until the last one has finished displaying its message?
Regardless, I think Write(Output(), "\n", 1)should do what you want (maybe even write "\r" if you don't want the NL, but haven't checked). Should also be easy from ASM if it's what you want. |
![]() |
![]() |
#3 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,351
|
How was the program writing text to CLI?
If you're booting from floppy you could just install the Kickstart 1.x bootblock which doesn't set the EBB_SILENTSTART bit in ExpansionBase. |
![]() |
![]() |
#4 | |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,761
|
Quote:
Yes, it was someone else's floppy - excellent info. So this I guess reduces the thread to what Echo does differently to DOS Write, to (on floppy and harddisk, all OS versions) "unhide" the CLI screen. Is it the same answer? (I tested Echo and this works on 1.3 floppy and 3.1 harddisk.) |
|
![]() |
![]() |
#5 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,351
|
What string were you outputting? Was there a linefeed character in it?
|
![]() |
![]() |
#6 |
Registered User
Join Date: Mar 2022
Location: Birmingham, UK
Posts: 167
|
I use “Set Echo On” on my 3.1 system and it just works
![]() |
![]() |
![]() |
#7 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,761
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Diabolik" & "Dylan Dog" & "Tex" & "Time Runners" series | DamienD | request.Old Rare Games | 20 | 21 July 2022 16:58 |
"Voices8" 8 Channel Soundtracker "DemoSongI" song - "This is the Amiga with 8 Voices" | DemosongIHunter | request.Music | 45 | 23 May 2022 20:07 |
"Screech!! v2.41" & "Screech!! [AGA] v2.51" - "HD install" --> "ADFs" | DamienD | request.Old Rare Games | 45 | 15 June 2020 12:42 |
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" | rockape | News | 4 | 30 January 2013 00:06 |
CDTV "stuck" in KS1.3 mode! Heeeelp! | mk1 | support.Hardware | 15 | 18 February 2009 12:00 |
|
|