assumed have primitive-procedure values.
#| -*-Scheme-*-
-$Id: bios.scm,v 1.10 2008/01/30 20:01:58 cph Exp $
+$Id: bios.scm,v 1.11 2008/02/14 03:34:03 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
y-size)))
(define (bios-available?)
- (and (implemented-primitive-procedure? bios:can-use-bios?)
+ (and (implemented-primitive-procedure?
+ (ucode-primitive bios:can-use-bios? 0))
(bios:can-use-bios?)
(let ((term (get-environment-variable "TERM")))
(and term
#| -*-Scheme-*-
-$Id: termcap.scm,v 1.12 2008/01/30 20:02:06 cph Exp $
+$Id: termcap.scm,v 1.13 2008/02/14 03:34:04 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
(let ((x-size (output-port/x-size console-output-port))
(y-size (output-port/y-size console-output-port)))
(make-ansi-terminal-description x-size y-size))
- (and (implemented-primitive-procedure? termcap-initialize)
+ (and (implemented-primitive-procedure?
+ (ucode-primitive termcap-initialize 1))
(termcap-initialize terminal-type-name)
(let ((supdup? (string=? terminal-type-name "supdup"))
(tn-standout-marker-width (termcap-get-number "sg"))
#| -*-Scheme-*-
-$Id: win32.scm,v 1.22 2008/01/30 20:02:07 cph Exp $
+$Id: win32.scm,v 1.23 2008/02/14 03:34:05 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
(define previewer-registration)
(define (win32-screen-available?)
- (implemented-primitive-procedure? win32-screen-create!))
+ (implemented-primitive-procedure? (ucode-primitive win32-screen-create! 2)))
(define (initialize-package!)
(set! win32-screens '())
#| -*-Scheme-*-
-$Id: xterm.scm,v 1.82 2008/01/30 20:02:08 cph Exp $
+$Id: xterm.scm,v 1.83 2008/02/14 03:34:06 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
;; X-OPEN-DISPLAY hangs, uninterruptibly, when the X server is
;; running the login loop of xdm. Can this be fixed?
(or x-display-data
- (and (implemented-primitive-procedure? x-open-display)
+ (and (implemented-primitive-procedure?
+ (ucode-primitive x-open-display 1))
(or x-display-name (get-environment-variable "DISPLAY"))
(let ((display (x-open-display x-display-name)))
(set! x-display-data display)
#| -*-Scheme-*-
-$Id: berkeley-db.scm,v 1.7 2008/01/30 20:02:28 cph Exp $
+$Id: berkeley-db.scm,v 1.8 2008/02/14 03:34:07 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
(define (bdb-available?)
(load-library-object-file "prdb4" #f)
- (and (implemented-primitive-procedure? db4:db-create)
+ (and (implemented-primitive-procedure? (ucode-primitive db4:db-create 3))
(begin
(if (not interface-initialized?)
(begin
#| -*-Scheme-*-
-$Id: os2graph.scm,v 1.28 2008/01/30 20:02:33 cph Exp $
+$Id: os2graph.scm,v 1.29 2008/02/14 03:34:08 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
;;;; Standard Operations
(define (os2-graphics/available?)
- (implemented-primitive-procedure? os2win-open))
+ (implemented-primitive-procedure? (ucode-primitive os2win-open 2)))
(define (os2-graphics/open descriptor->device #!optional width height)
(if (not event-descriptor)
#| -*-Scheme-*-
-$Id: pgsql.scm,v 1.14 2008/01/30 20:02:33 cph Exp $
+$Id: pgsql.scm,v 1.15 2008/02/14 03:34:09 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
(define (pgsql-available?)
(load-library-object-file "prpgsql" #f)
- (and (implemented-primitive-procedure? pq-connect-db)
+ (and (implemented-primitive-procedure? (ucode-primitive pq-connect-db 2))
(begin
(if (not pgsql-initialized?)
(begin
#| -*-Scheme-*-
-$Id: starbase.scm,v 1.23 2008/01/30 20:02:35 cph Exp $
+$Id: starbase.scm,v 1.24 2008/02/14 03:34:10 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
(define-accessors-and-mutators text-rotation)
\f
(define (operation/available?)
- (implemented-primitive-procedure? starbase-open-device))
+ (implemented-primitive-procedure? (ucode-primitive starbase-open-device 2)))
(define (operation/open descriptor->device device-name driver-name)
(let ((identifier (starbase-open-device device-name driver-name)))
#| -*-Scheme-*-
-$Id: x11graph.scm,v 1.61 2008/01/30 20:02:37 cph Exp $
+$Id: x11graph.scm,v 1.62 2008/02/14 03:34:11 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
(initialize-colormap-datatype))
(define (x-graphics/available?)
- (implemented-primitive-procedure? x-graphics-open-window))
+ (implemented-primitive-procedure?
+ (ucode-primitive x-graphics-open-window 3)))
(define x-graphics-device-type)
\f