So nun werde ich Euch nerven
Vieleicht ist es in Zukunft besser einen Anfängerthread zu generieren
Nun folgendes Script (Ich nehme schon clydes Template im Moment noch ohne cubicIDE)
/****************************************************************
** **
** Name: **
** Author: **
** Description: **
** **
****************************************************************/
@APPAUTHOR "HuhiBuh"
@APPCOPYRIGHT ""
@APPDESCRIPTION ""
@APPTITLE ""
@APPVERSION "$VER: 0.1 (1.1.2000)"
@VERSION 3,1
@DISPLAY { Title = "System" }
; /// "source code"
; add your source code here
DD=GetDateNum(#DATEDAY)
DM=GetDateNum(#DATEMONTH)
DT=GetDateNum(#DATETIME)
DY=GetDateNum(#DATEYEAR)
;time$=GetTime([secs])
NPrint ("Heutiges Datum:", DD, DM, DY)
NPrint ("Systemzeit:", DT)
t = GetVersion()
If t.platform = "Win32" Then Error("Nein Win32 wird nicht supportet
!")
NPrint ("Betriebssystem:", t.platform)
chip=GetMemoryInfo(#CHIPMEMORY)
fast=GetMemoryInfo(#FASTMEMORY)
NPrint("Chipram:", chip)
NPrint("Fastram:", fast)
space=GetVolumeInfo("SYS:",#FREESPACE)
space2=GetVolumeInfo("SYS:",#USEDSPACE)
NPrint("System:", space, "freier Speicher auf SYS:!")
NPrint("System:", space2, "belegter Speicher auf SYS:!")
; a$ = StringRequest("My Program", "Please enter your name!")
; Print("Hello,", a$, "!")
; ///
; /// "main loop"
Repeat
WaitEvent
Forever
; ///
Also Ausgabe bei mir ist
Datum 26 11 2008 (muss man noch formatieren)
Systemzeit 10354 (wohl umwandeln)
Betriebsystem: MorphOS
Chipram 2088960 (gibt es nicht aber stimmt xD)
Fastram 439147592 (bleibt aber komischweise fast immer gleich. TopCPU zeigt bei mir nur 418 MB an)
System: 2059682304 (freier speicher stimmt nicht)
System -2044510208 (ungenutzer Speicher stimmt nicht)
Auf sys sind es bei mir 6 GB belegt, 33,9 GB unbelegt.
Das ganze bei mir unter MorphOS2.1 Funktioniert es bei euch richtig. und gäbe es einen Befehl um die cpu zu ermitteln ?
Thx für erste