Michael Brown
|
0aa1223264
|
Optimise bios_putchar for speed(!) by avoiding two separate real-mode
calls. This does make a visible difference when clearing the screen with
werase() inside bochs or qemu.
|
18 anni fa |
Michael Brown
|
e85bf52446
|
Avoid cursor move on every single character
|
18 anni fa |
Michael Brown
|
8e460de6be
|
Obsolete, and no longer functions
|
18 anni fa |
Michael Brown
|
e7cc1c6c35
|
Use ANSI escape sequence to reset and clear terminal, rather than using
the (slow) werase().
|
18 anni fa |
Michael Brown
|
edbdce6e3d
|
Now basically functioning on ANSI-supporting consoles.
|
18 anni fa |
Michael Brown
|
09f9142cbf
|
Adjusted to use the normal internal mucurses API rather than accessing
stdscr directly.
|
18 anni fa |
Michael Brown
|
b6b36e8ac4
|
Remove more dynamic allocation
|
18 anni fa |
Michael Brown
|
04d15fb8f8
|
There seems to be no reason why pos_x is static...
|
18 anni fa |
Michael Brown
|
1f74fa2cad
|
Remove some unnecessary use of calloc() for tiny memory areas.
|
18 anni fa |
Michael Brown
|
ba26defa6e
|
Convert _{store,restore}_cursor_pos to static inlines.
|
18 anni fa |
Michael Brown
|
56970053f4
|
wmove() is part of the public curses API, and already defined in curses.h
|
18 anni fa |
Michael Brown
|
1755d8df7a
|
Renamed core.h to mucurses.h
|
18 anni fa |
Michael Brown
|
426e847c4c
|
Rename core.c->mucurses.c; bin/core.o is too generic to belong to mucurses.
|
18 anni fa |
Michael Brown
|
688eb60df4
|
Use int rather than short for bool; it will give more efficient code.
|
18 anni fa |
Michael Brown
|
2ed2b2efe8
|
Use iskey() and getchar() to interact with console, rather than object
abstraction.
|
18 anni fa |
Michael Brown
|
a497e16767
|
The "increment MAC address by port number" hack applies only to EF1.
|
18 anni fa |
Michael Brown
|
530bbf7cca
|
Print welcome banner in bold (which will come out as bright white text
on the BIOS console, or genuine bold font on a xterm "serial" console),
just to prove the concept of the ANSI escape sequence handling.
|
18 anni fa |
Michael Brown
|
8b3a4c9862
|
Add basic ANSI escape sequence support to BIOS console
|
18 anni fa |
Michael Brown
|
1cd45decc4
|
Added support for interpreting ANSI escape sequences on behalf of
non-ANSI-capable consoles.
|
18 anni fa |
Michael Brown
|
8a45f619a9
|
Fix building on gas versions that don't auto-insert addr32 prefixes
|
18 anni fa |
Michael Brown
|
a39b111684
|
Automatically select between the "10" and "16" variants of command set,
based on the device size.
|
18 anni fa |
Michael Brown
|
3bd7e479a2
|
Catch SCSI errors, and work around the start-of-day CHECK CONDITION
that some targets send.
|
18 anni fa |
Michael Brown
|
c0ec119ede
|
Typo
|
18 anni fa |
Michael Brown
|
04c09823bd
|
Request all the options that we're prepared to do anything with.
|
18 anni fa |
Michael Brown
|
240c9512bb
|
Added "clear" command
|
18 anni fa |
Michael Brown
|
007ca97f25
|
Added clear_setting()
|
18 anni fa |
Michael Brown
|
0a26cd2933
|
Cope with system("").
|
18 anni fa |
Michael Brown
|
69b9048e1a
|
Added "priority" and "root-path" options
|
18 anni fa |
Michael Brown
|
72b1629cee
|
Add placeholder ibft.h
|
18 anni fa |
Michael Brown
|
9aa3e10d7c
|
Use root-path option (as per RFC 4173) rather than filename option to
determine iSCSI boot parameters.
|
18 anni fa |
Michael Brown
|
a1af111a87
|
Also request root-path.
|
18 anni fa |
Michael Brown
|
c343a3a8ee
|
Including the final (char *)NULL is the responsibility of the caller
of execl().
|
18 anni fa |
Michael Brown
|
a77b32aaf6
|
D'oh d'oh d'oh d'oh d'oh d'oh d'oh d'oh d'oh
|
18 anni fa |
Michael Brown
|
cc697eeb1f
|
Added "exit" back in as a standardised command.
|
18 anni fa |
Michael Brown
|
7de5d32ff5
|
cmdlinelib.c now calls system() rather than doing its own tokenisation
(which was extremely heavy on calls to malloc()).
Moved include/command.h to include/gpxe/command.h, since it's
gPXE-specific.
|
18 anni fa |
Michael Brown
|
f3d817d512
|
Added execv() and system().
|
18 anni fa |
Michael Brown
|
e106a39ce8
|
Added missing include of stdint.h
|
18 anni fa |
Michael Brown
|
496563071d
|
Added strdup()
|
18 anni fa |
Michael Brown
|
1e4a838f55
|
Added missing prototype
|
18 anni fa |
Michael Brown
|
be0cd1cddd
|
Added a functional version of getopt() and getopt_long(), ready for use
in our commands.
|
18 anni fa |
Michael Brown
|
29db66fb51
|
Add support for non-volatile stored options in the RTL8139 EEPROM.
|
18 anni fa |
Michael Brown
|
2863d1a1de
|
inet_aton() has a non-traditional return value
|
18 anni fa |
Michael Brown
|
38ae94f8ce
|
A cleaner method of handling login redirection; just use the existing
reconnection mechanism. This avoids the problems of trying to reuse
the TCP connection structure before the old connection has cleanly exited.
|
18 anni fa |
Michael Brown
|
d2bf7abe75
|
Added write support for three-wire devices (e.g. the RTL8139 EEPROM)
|
18 anni fa |
Michael Brown
|
ac401f481d
|
Verify data after writing
|
18 anni fa |
Michael Brown
|
5edb85c8b4
|
Work around another confused-by-RST bug
|
18 anni fa |
Michael Brown
|
d88832ad7e
|
Support PXE and iSCSI by default
|
18 anni fa |
Michael Brown
|
b9f9230661
|
Work around another instance of the port re-use bug.
|
18 anni fa |
Michael Brown
|
8c3d09c564
|
Tweaked retry messages
|
18 anni fa |
Michael Brown
|
9600af14a3
|
Added debug messages
|
18 anni fa |