English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 30 June 2024, 21:05   #1
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,669
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?
Photon is online now  
Old 30 June 2024, 21:44   #2
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,226
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.
paraj is offline  
Old 30 June 2024, 21:45   #3
mark_k
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.
mark_k is offline  
Old 30 June 2024, 23:36   #4
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,669
Quote:
Originally Posted by mark_k View Post
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.
DOS Write to default Output handle (CLI).
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.)
Photon is online now  
Old Yesterday, 02:17   #5
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,351
What string were you outputting? Was there a linefeed character in it?
mark_k is offline  
Old Yesterday, 19:22   #6
Paulee_Alex_Bow
Registered User
 
Paulee_Alex_Bow's Avatar
 
Join Date: Mar 2022
Location: Birmingham, UK
Posts: 155
I use “Set Echo On” on my 3.1 system and it just works
Paulee_Alex_Bow is offline  
Old Today, 15:07   #7
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,669
Quote:
Originally Posted by mark_k View Post
What string were you outputting? Was there a linefeed character in it?
It was a text message with multiple Amiga/Linux LFs (Ascii Code 10).
Photon is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:54.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10881 seconds with 15 queries