Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ATX Shutdown in C

Empfohlene Antworten

Habe ein dickes Problem, muss umbedingt einen ATX-Rechner mit einem EIGENEN Programm runterfahren,

Kann keine bestehenden Routinen von Win oder Linux benutzen,

Ich denke mal dass Poweroff über einen Interruptbefehl oder so was geregelt ist, aber welcher ????

Vielleicht habt ihr ja schon mal sowas geschrieben oder in einer Source gesehen

Vielen Dank im Voraus

Was auch immer ein ATX ist, wenn es einen systembefehl fuer shutdown gibt, kannst Du ihn einfach mit der system()-Funktion absetzen (wie das geht, steht in vielen alten Threads), wenn nicht, brauchst Du eine systemspezifische API.

Uli

  • 2 Wochen später...

Hi, wenn du einen shutdown ganz easy erledigen wilslt, dann musst du die APM-Funktion im Bios aktiviert haben und du solltest dir die für dein Bios vorhandene developerdokuentation anschauen...da gibt es einen kleinen befehl den du per int (18?) aufrufst(assembler) und in ax und bx die parameter übergibst.

Vieleicht hilft dir das als ansatzpunkt. Ansonsten schau mal im kernelsourcecode von linux nach in

/linux/arch/i386/../apm.c

sollte sowas drin stehen.

viele grüße

codemaster

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.