dingusppc/devices/common
joevt 1ccc8d1a25 Fix setenv and printenv
- Allow changing integer variables. Previously they could not be changed.
- Allow changing string variables. Previously they could only be changed if their length increased.
- printenv had a bug with strings longer than 32 characters.
- printenv now translates carriage return (used in nvramrc) as endl (which should perform carriage return and linefeed)
- For integers, setenv assumes decimal number input but if that fails it will try hex conversion. 0x prefix for hex numbers is optional unless the number only has digits 0 - 9.
- setenv converts linefeed to carriage return for string variables. nvramrc requires this for proper editing in Open Firmware.
- Added Open Firmware 2.4 nvram field names to OfNvramHdr comments.
2022-08-22 17:20:04 -07:00
..
adb Clean up some ctors/dtors. 2022-01-10 17:56:24 +01:00
i2c Generic I2C PROM emulation. 2022-08-14 23:01:55 +02:00
pci Fix read/write argument names 2022-08-22 17:16:22 -07:00
scsi Register offsets should be logged as hex 2022-08-22 17:16:22 -07:00
dbdma.cpp Add missing licence headers, update license date. 2021-10-23 21:00:31 +02:00
dbdma.h Add missing licence headers, update license date. 2021-10-23 21:00:31 +02:00
dmacore.h SWIM3: add support for floppy DMA. 2022-02-15 15:53:18 +01:00
hwcomponent.h Make NVRAM a full-fledged HW component. 2022-05-21 14:51:27 +02:00
hwinterrupt.h AMIC: process VIA2 interrupts. 2022-02-06 01:50:54 +01:00
machineid.h Fix read/write argument names 2022-08-22 17:16:22 -07:00
mmiodevice.h Fix read/write argument names 2022-08-22 17:16:22 -07:00
nvram.cpp Remove unnecessary linefeeds from log 2022-08-14 05:26:56 -07:00
nvram.h nvram: self-registration with the device registry. 2022-07-18 20:27:34 +02:00
ofnvram.cpp Fix setenv and printenv 2022-08-22 17:20:04 -07:00
ofnvram.h Fix setenv and printenv 2022-08-22 17:20:04 -07:00
viacuda.cpp Remove unnecessary linefeeds from log 2022-08-14 05:26:56 -07:00
viacuda.h viacuda: self-registration with the device registry. 2022-07-18 20:27:34 +02:00